From 65511e5f22e2ba0a5ebd9210319a55d80ea5334e Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 7 Jan 2014 10:58:56 -0800 Subject: mesa: Store gl_shader_stage enum in gl_shader objects. Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- src/glsl/test_optpass.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/test_optpass.cpp') diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp index 01f6f9585f..bdb1e8ffde 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(); -- cgit v1.2.3