[Mesa-dev] [PATCH v3 23/44] glsl: Don't lower_variable_index_to_cond_assign for shared variables
Jordan Justen
jordan.l.justen at intel.com
Tue Dec 1 00:19:41 PST 2015
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
---
src/glsl/lower_variable_index_to_cond_assign.cpp | 3 +++
1 file changed, 3 insertions(+)
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;
--
2.6.2
More information about the mesa-dev
mailing list