From: Elie Tournier <tournier.e...@gmail.com>

Signed-off-by: Elie Tournier <elie.tourn...@collabora.com>
---
 src/compiler/glsl/lower_64bit.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/compiler/glsl/lower_64bit.cpp 
b/src/compiler/glsl/lower_64bit.cpp
index c4b8e78..0dc6070 100644
--- a/src/compiler/glsl/lower_64bit.cpp
+++ b/src/compiler/glsl/lower_64bit.cpp
@@ -405,7 +405,8 @@ lower_64bit::lower_op_to_function_call(ir_instruction 
*base_ir,
 
       body.emit(c);
 
-      if (ir->operation == ir_unop_d2b)
+      if (ir->operation == ir_unop_d2b ||
+          ir->operation == ir_binop_gequal)
          body.emit(assign(dst[i], logic_not(dst[i])));
    }
 
@@ -605,6 +606,7 @@ lower_64bit_visitor::handle_rvalue(ir_rvalue **rvalue)
       }
       break;
 
+   case ir_binop_gequal:
    case ir_binop_less:
       if (lowering(LT64)) {
          if (ir->operands[0]->type->base_type == GLSL_TYPE_DOUBLE)
-- 
2.9.5

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to