diff options
author | Timothy Arceri <[email protected]> | 2016-06-27 16:25:00 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-06-30 16:51:25 +1000 |
commit | 47f83817303e0f24f2d410450f897945a5746ef2 (patch) | |
tree | e8dd06b8d0574f5c8851d470dab44929a69607f1 /src/compiler/glsl/builtin_variables.cpp | |
parent | 9e9d01cbe802df386586db3fde1a531151b6d66a (diff) |
glsl: pass symbols rather than shader to _mesa_get_main_function_signature()
This will allow us to split gl_shader into two different structs, one for
shader objects and one for linked shaders.
Reviewed-by: Iago Toral Quiroga <[email protected]>
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); |