summaryrefslogtreecommitdiffstats
path: root/src/glsl/test_optpass.cpp
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2014-01-07 09:46:10 -0800
committerPaul Berry <stereotype441@gmail.com>2014-01-08 07:31:49 -0800
commit911007820962d78a60c8056f64c0bde1ea724149 (patch)
treeb77acc4b703a9a9f2404295ef6efc116dfacdd55 /src/glsl/test_optpass.cpp
parente3b86f07da4ba9a4db6b8aae4072af6f1638b7cc (diff)
downloadexternal_mesa3d-911007820962d78a60c8056f64c0bde1ea724149.zip
external_mesa3d-911007820962d78a60c8056f64c0bde1ea724149.tar.gz
external_mesa3d-911007820962d78a60c8056f64c0bde1ea724149.tar.bz2
glsl: Change _mesa_glsl_parse_state ctor to use gl_shader_stage enum.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> v2: Also rename "target" param to "stage". Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/glsl/test_optpass.cpp')
-rw-r--r--src/glsl/test_optpass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp
index bdb1e8f..1a15f3c 100644
--- a/src/glsl/test_optpass.cpp
+++ b/src/glsl/test_optpass.cpp
@@ -209,7 +209,7 @@ int test_optpass(int argc, char **argv)
string input = read_stdin_to_eof();
struct _mesa_glsl_parse_state *state
- = new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader);
+ = new(shader) _mesa_glsl_parse_state(ctx, shader->Stage, shader);
if (input_format_ir) {
shader->ir = new(shader) exec_list;