projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: introduce data section to ir_variable
[mesa.git]
/
src
/
glsl
/
opt_cse.cpp
diff --git
a/src/glsl/opt_cse.cpp
b/src/glsl/opt_cse.cpp
index 8f73940d85436c9a54955dfd6af081a88f233bcc..a2b63ee99ba5f7d0a5ef85ddf350b263353fd4ac 100644
(file)
--- a/
src/glsl/opt_cse.cpp
+++ b/
src/glsl/opt_cse.cpp
@@
-193,7
+193,7
@@
is_cse_candidate_visitor::visit(ir_dereference_variable *ir)
/* Currently, since we don't handle kills of the ae based on variables
* getting assigned, we can only handle constant variables.
*/
- if (ir->var->read_only) {
+ if (ir->var->
data.
read_only) {
return visit_continue;
} else {
ok = false;