projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e6cfb
)
glsl: Check for SSBO variable in check_for_ssbo_store
author
Jordan Justen
<jordan.l.justen@intel.com>
Tue, 17 Nov 2015 18:55:26 +0000
(10:55 -0800)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Thu, 10 Dec 2015 07:50:38 +0000
(23:50 -0800)
The compiler probably already blocks this earlier on, but we should be
checking for an SSBO here.
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>
src/glsl/lower_ubo_reference.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/lower_ubo_reference.cpp
b/src/glsl/lower_ubo_reference.cpp
index e088f4624be892b608857d098364f16d003e0d37..a172054bac8279f399e2b00867e8b12642d29f86 100644
(file)
--- a/
src/glsl/lower_ubo_reference.cpp
+++ b/
src/glsl/lower_ubo_reference.cpp
@@
-723,7
+723,7
@@
lower_ubo_reference_visitor::check_for_ssbo_store(ir_assignment *ir)
return;
ir_variable *var = ir->lhs->variable_referenced();
- if (!var || !var->is_in_
buffer
_block())
+ if (!var || !var->is_in_
shader_storage
_block())
return;
/* We have a write to a buffer variable, so declare a temporary and rewrite