diff options
Diffstat (limited to 'src/compiler/glsl/lower_instructions.cpp')
-rw-r--r-- | src/compiler/glsl/lower_instructions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/lower_instructions.cpp b/src/compiler/glsl/lower_instructions.cpp index 362562a4af6..91f71b37619 100644 --- a/src/compiler/glsl/lower_instructions.cpp +++ b/src/compiler/glsl/lower_instructions.cpp @@ -319,10 +319,10 @@ lower_instructions_visitor::mod_to_floor(ir_expression *ir) ir_assignment *const assign_x = new(ir) ir_assignment(new(ir) ir_dereference_variable(x), - ir->operands[0], NULL); + ir->operands[0]); ir_assignment *const assign_y = new(ir) ir_assignment(new(ir) ir_dereference_variable(y), - ir->operands[1], NULL); + ir->operands[1]); this->base_ir->insert_before(assign_x); this->base_ir->insert_before(assign_y); |