diff options
Diffstat (limited to 'src/glsl/test_optpass.cpp')
-rw-r--r-- | src/glsl/test_optpass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp index 01f6f9585f0..bdb1e8ffdeb 100644 --- a/src/glsl/test_optpass.cpp +++ b/src/glsl/test_optpass.cpp @@ -204,6 +204,7 @@ int test_optpass(int argc, char **argv) struct gl_shader *shader = rzalloc(NULL, struct gl_shader); shader->Type = shader_type; + shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type); string input = read_stdin_to_eof(); |