From: Mike Blumenkrantz Date: Tue, 16 Jun 2020 15:14:19 +0000 (-0400) Subject: zink: handle ixor in ntv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21fe5b0ffdf291ac711206e51288045939a83259;p=mesa.git 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: --- 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) \