summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2014-01-07 09:46:10 -0800
committerPaul Berry <[email protected]>2014-01-08 07:31:49 -0800
commit911007820962d78a60c8056f64c0bde1ea724149 (patch)
treeb77acc4b703a9a9f2404295ef6efc116dfacdd55 /src/glsl/tests
parente3b86f07da4ba9a4db6b8aae4072af6f1638b7cc (diff)
glsl: Change _mesa_glsl_parse_state ctor to use gl_shader_stage enum.
Reviewed-by: Kenneth Graunke <[email protected]> v2: Also rename "target" param to "stage". Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/tests')
-rw-r--r--src/glsl/tests/builtin_variable_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/tests/builtin_variable_test.cpp b/src/glsl/tests/builtin_variable_test.cpp
index 9b4a097b1e4..3fdfce57d4f 100644
--- a/src/glsl/tests/builtin_variable_test.cpp
+++ b/src/glsl/tests/builtin_variable_test.cpp
@@ -68,7 +68,7 @@ common_builtin::SetUp()
this->shader->Stage = _mesa_shader_enum_to_shader_stage(this->shader_type);
this->state =
- new(mem_ctx) _mesa_glsl_parse_state(&this->ctx, this->shader->Type,
+ new(mem_ctx) _mesa_glsl_parse_state(&this->ctx, this->shader->Stage,
this->shader);
_mesa_glsl_initialize_types(this->state);