From 21fe5b0ffdf291ac711206e51288045939a83259 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 16 Jun 2020 11:14:19 -0400 Subject: [PATCH] zink: handle ixor in ntv fixes spec@glsl-1.30@execution@built-in-functions@fs-op-assign-bitxor tests Reviewed-by: Erik Faye-Lund Part-of: --- src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 553213bf94d..40a0b267a25 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -1294,6 +1294,7 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu) BINOP(nir_op_ishl, SpvOpShiftLeftLogical) BINOP(nir_op_ishr, SpvOpShiftRightArithmetic) BINOP(nir_op_ushr, SpvOpShiftRightLogical) + BINOP(nir_op_ixor, SpvOpBitwiseXor) #undef BINOP #define BINOP_LOG(nir_op, spv_op, spv_log_op) \ -- 2.30.2