diff options
author | Paul Berry <stereotype441@gmail.com> | 2014-01-07 10:58:56 -0800 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2014-01-08 07:31:28 -0800 |
commit | 65511e5f22e2ba0a5ebd9210319a55d80ea5334e (patch) | |
tree | c53c382d8a27d392053524491f708499556e59d6 /src/glsl/test_optpass.cpp | |
parent | 1722f5e73ee73e7c2ab58a4be39c95c2a55b154f (diff) | |
download | external_mesa3d-65511e5f22e2ba0a5ebd9210319a55d80ea5334e.zip external_mesa3d-65511e5f22e2ba0a5ebd9210319a55d80ea5334e.tar.gz external_mesa3d-65511e5f22e2ba0a5ebd9210319a55d80ea5334e.tar.bz2 |
mesa: Store gl_shader_stage enum in gl_shader objects.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
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 01f6f95..bdb1e8f 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(); |