summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/builtin_variable_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/builtin_variable_test.cpp')
-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);