projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium/postprocessing: fix shader parsing
[mesa.git]
/
src
/
glsl
/
opt_constant_variable.cpp
diff --git
a/src/glsl/opt_constant_variable.cpp
b/src/glsl/opt_constant_variable.cpp
index 1bbaf8e4792085c520c80ca1a05fb3f2e0bf667f..cbe6450c62f0b6b4cc8f68628ba5698bd444cf25 100644
(file)
--- a/
src/glsl/opt_constant_variable.cpp
+++ b/
src/glsl/opt_constant_variable.cpp
@@
-137,8
+137,8
@@
ir_constant_variable_visitor::visit_enter(ir_call *ir)
ir_rvalue *param_rval = (ir_rvalue *)iter.get();
ir_variable *param = (ir_variable *)sig_iter.get();
ir_rvalue *param_rval = (ir_rvalue *)iter.get();
ir_variable *param = (ir_variable *)sig_iter.get();
- if (param->mode == ir_var_out ||
- param->mode == ir_var_inout) {
+ if (param->mode == ir_var_
function_
out ||
+ param->mode == ir_var_
function_
inout) {
ir_variable *var = param_rval->variable_referenced();
struct assignment_entry *entry;
ir_variable *var = param_rval->variable_referenced();
struct assignment_entry *entry;