glsl: Don't lower_variable_index_to_cond_assign for shared variables

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Jordan Justen 2015-07-21 14:04:11 -07:00
parent c43a7e605e
commit 66eaef7737

View file

@ -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;