From 9c5e6654f7fbf2935a87fa3fd8ae47ff1e9a59a0 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Fri, 17 Aug 2012 13:58:22 +0000 Subject: Upate to libGL 7.11.2 Tested by jsg@, matthieu@ and ajacoutot@, ok mattieu@ --- dist/Mesa/src/glsl/opt_constant_folding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/Mesa/src/glsl/opt_constant_folding.cpp') diff --git a/dist/Mesa/src/glsl/opt_constant_folding.cpp b/dist/Mesa/src/glsl/opt_constant_folding.cpp index d69ca75fe..599b21525 100644 --- a/dist/Mesa/src/glsl/opt_constant_folding.cpp +++ b/dist/Mesa/src/glsl/opt_constant_folding.cpp @@ -122,7 +122,7 @@ ir_constant_folding_visitor::visit_enter(ir_call *ir) ir_rvalue *param_rval = (ir_rvalue *)iter.get(); ir_variable *sig_param = (ir_variable *)sig_iter.get(); - if (sig_param->mode == ir_var_in) { + if (sig_param->mode == ir_var_in || sig_param->mode == ir_var_const_in) { ir_rvalue *new_param = param_rval; handle_rvalue(&new_param); -- cgit v1.2.3