summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/lower_variable_index_to_cond_assign.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/lower_variable_index_to_cond_assign.cpp b/src/glsl/lower_variable_index_to_cond_assign.cpp
index 1ab3afe..a1ba934 100644
--- a/src/glsl/lower_variable_index_to_cond_assign.cpp
+++ b/src/glsl/lower_variable_index_to_cond_assign.cpp
@@ -378,6 +378,9 @@ public:
case ir_var_shader_storage:
return this->lower_uniforms;
+ case ir_var_shader_shared:
+ return false;
+
case ir_var_function_in:
case ir_var_const_in:
return this->lower_temps;