Created
August 2, 2019 00:10
-
-
Save anarsoul/29f17ea2c930ae446d16ed4a7b3d82cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/compiler/glsl/standalone.cpp b/src/compiler/glsl/standalone.cpp | |
index 7b3d358ca96..c84a4fc9cff 100644 | |
--- a/src/compiler/glsl/standalone.cpp | |
+++ b/src/compiler/glsl/standalone.cpp | |
@@ -103,6 +103,7 @@ init_gl_program(struct gl_program *prog, bool is_arb_asm) | |
prog->RefCount = 1; | |
prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB; | |
prog->is_arb_asm = is_arb_asm; | |
+ prog->info.stage = MESA_SHADER_FRAGMENT; | |
} | |
static struct gl_program * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment