summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-03-24 19:14:18 -0700
committerMatt Turner <[email protected]>2015-03-24 19:14:40 -0700
commitbabd0fa3e28ae673128aaab55bd59fc3b7135be3 (patch)
tree7f4fdcabffa71484229eb5be73ab932830db7765
parent3fb56805f0dbfe929cd733e15566197bc0733290 (diff)
nir: Fix typo.
-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;