From 6335c7923683ecf37bcd59007a144aa37c857343 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Thu, 9 Apr 2015 09:14:38 +0200 Subject: [PATCH] i965/fs: Do not split buffer variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Buffer variables are the same as uniforms, only that read/write, so we want the same treatment. Reviewed-by: Jordan Justen Reviewed-by: Kristian Høgsberg --- src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp index 9e92ae85e43..6000e35b9b9 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp @@ -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: -- 2.30.2