diff options
Diffstat (limited to 'src/compiler/glsl/ir_builder.cpp')
-rw-r--r-- | src/compiler/glsl/ir_builder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/ir_builder.cpp b/src/compiler/glsl/ir_builder.cpp index 8d61533efcf..416d8c71ed1 100644 --- a/src/compiler/glsl/ir_builder.cpp +++ b/src/compiler/glsl/ir_builder.cpp @@ -371,13 +371,13 @@ less(operand a, operand b) ir_expression* greater(operand a, operand b) { - return expr(ir_binop_greater, a, b); + return expr(ir_binop_less, b, a); } ir_expression* lequal(operand a, operand b) { - return expr(ir_binop_lequal, a, b); + return expr(ir_binop_gequal, b, a); } ir_expression* |