diff options
Diffstat (limited to 'src/compiler/glsl/builtin_variables.cpp')
-rw-r--r-- | src/compiler/glsl/builtin_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/builtin_variables.cpp b/src/compiler/glsl/builtin_variables.cpp index e1a95e3bf8c..a311047dced 100644 --- a/src/compiler/glsl/builtin_variables.cpp +++ b/src/compiler/glsl/builtin_variables.cpp @@ -1456,7 +1456,7 @@ _mesa_glsl_initialize_derived_variables(struct gl_context *ctx, if (shader->Stage == MESA_SHADER_COMPUTE && ctx->Const.LowerCsDerivedVariables) { ir_function_signature *const main_sig = - _mesa_get_main_function_signature(shader); + _mesa_get_main_function_signature(shader->symbols); if (main_sig != NULL) initialize_cs_derived_variables(shader, main_sig); |