summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_constant_folding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/opt_constant_folding.cpp')
-rw-r--r--src/glsl/opt_constant_folding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/opt_constant_folding.cpp b/src/glsl/opt_constant_folding.cpp
index db8cd5cee6d..dcad59997f1 100644
--- a/src/glsl/opt_constant_folding.cpp
+++ b/src/glsl/opt_constant_folding.cpp
@@ -118,7 +118,7 @@ ir_visitor_status
ir_constant_folding_visitor::visit_enter(ir_call *ir)
{
/* Attempt to constant fold parameters */
- exec_list_iterator sig_iter = ir->get_callee()->parameters.iterator();
+ exec_list_iterator sig_iter = ir->callee->parameters.iterator();
foreach_iter(exec_list_iterator, iter, *ir) {
ir_rvalue *param_rval = (ir_rvalue *)iter.get();
ir_variable *sig_param = (ir_variable *)sig_iter.get();