From 06859b70b9b38d86421995852035c0d1c79973ae Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 11 Jul 2019 16:25:25 +0200 Subject: [PATCH] zink: more converts Acked-by: Jordan Justen --- src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 2 ++ 1 file changed, 2 insertions(+) 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 563421a93c0..8f96393154b 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 @@ -789,6 +789,8 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu) UNOP(nir_op_fddy, SpvOpDPdy) UNOP(nir_op_f2i32, SpvOpConvertFToS) UNOP(nir_op_f2u32, SpvOpConvertFToU) + UNOP(nir_op_i2f32, SpvOpConvertSToF) + UNOP(nir_op_u2f32, SpvOpConvertUToF) #undef UNOP #define BUILTIN_UNOP(nir_op, spirv_op) \ -- 2.30.2