diff options
author | Matt Turner <[email protected]> | 2015-11-14 17:47:33 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-11-16 09:05:53 -0800 |
commit | d564b5b58e8955f807e330364ff534ce57c99d8c (patch) | |
tree | f1887a6d43c160ae8390afd26e6e584bb3a4fe81 | |
parent | 00f554abba8c0f3b65af94365c15109c3b858486 (diff) |
nir/glsl: Fix copy-n-paste mistakes from commit 213f864.
Reviewed-by: Connor Abbott <[email protected]>
-rw-r--r-- | src/glsl/nir/glsl_to_nir.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp index 38b8390ad36..6d24341ce01 100644 --- a/src/glsl/nir/glsl_to_nir.cpp +++ b/src/glsl/nir/glsl_to_nir.cpp @@ -1533,9 +1533,9 @@ nir_visitor::visit(ir_expression *ir) result = supports_ints ? nir_ior(&b, srcs[0], srcs[1]) : nir_for(&b, srcs[0], srcs[1]); break; - case ir_binop_logic_xor: result = nir_ixor(&b, srcs[0], srcs[1]); break; - result = supports_ints ? nir_ior(&b, srcs[0], srcs[1]) - : nir_for(&b, srcs[0], srcs[1]); + case ir_binop_logic_xor: + result = supports_ints ? nir_ixor(&b, srcs[0], srcs[1]) + : nir_fxor(&b, srcs[0], srcs[1]); break; case ir_binop_lshift: result = nir_ishl(&b, srcs[0], srcs[1]); break; case ir_binop_rshift: |