summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-04-09 09:14:38 +0200
committerSamuel Iglesias Gonsalvez <[email protected]>2015-09-25 08:39:20 +0200
commit6335c7923683ecf37bcd59007a144aa37c857343 (patch)
treee40ce64c5e8c50ce97b98e9a24af2973324dad1d
parent2773a7cf1d929729de04abf516ce5bf9eac77834 (diff)
i965/fs: Do not split buffer variables
Buffer variables are the same as uniforms, only that read/write, so we want the same treatment. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp1
1 files changed, 1 insertions, 0 deletions
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: