diff options
author | Marek Olšák <[email protected]> | 2016-11-09 13:04:09 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-10 18:34:55 +0100 |
commit | f500c36339ee092b7b95cd2658d71d46ae7f28a8 (patch) | |
tree | d3285e18be2c3e8bf436b2e2e614b6d63d987e56 /src/compiler/glsl/linker.cpp | |
parent | 0f6360eedb61ac184473f765eb26058593a679fc (diff) |
mesa: remove LowerShaderSharedVariables
always true for compute shaders
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
-rw-r--r-- | src/compiler/glsl/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp index 693a50b20d5..81678af23f5 100644 --- a/src/compiler/glsl/linker.cpp +++ b/src/compiler/glsl/linker.cpp @@ -4678,7 +4678,7 @@ link_varyings_and_uniforms(unsigned first, unsigned last, lower_ubo_reference(prog->_LinkedShaders[i], options->ClampBlockIndicesToArrayBounds); - if (options->LowerShaderSharedVariables) + if (i == MESA_SHADER_COMPUTE) lower_shared_reference(prog->_LinkedShaders[i], &prog->Comp.SharedSize); |