summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/glsl_to_nir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp
index e6f5ffc2da1..f48a34bb52a 100644
--- a/src/glsl/nir/glsl_to_nir.cpp
+++ b/src/glsl/nir/glsl_to_nir.cpp
@@ -1287,7 +1287,7 @@ nir_visitor::visit(ir_expression *ir)
break;
case ir_binop_logic_xor:
if (supports_ints)
- op - nir_op_ixor;
+ op = nir_op_ixor;
else
op = nir_op_fxor;
break;