i965/fs: Do not split buffer variables
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 9 Apr 2015 07:14:38 +0000 (09:14 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:20 +0000 (08:39 +0200)
Buffer variables are the same as uniforms, only that read/write, so we want
the same treatment.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp

index 9e92ae8..6000e35 100644 (file)
@@ -106,6 +106,7 @@ ir_vector_reference_visitor::get_variable_entry(ir_variable *var)
 
    switch (var->data.mode) {
    case ir_var_uniform:
+   case ir_var_shader_storage:
    case ir_var_shader_in:
    case ir_var_shader_out:
    case ir_var_system_value: