From: Erik Faye-Lund Date: Thu, 11 Jul 2019 14:25:25 +0000 (+0200) Subject: zink: more converts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06859b70b9b38d86421995852035c0d1c79973ae;p=mesa.git zink: more converts Acked-by: Jordan Justen --- 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) \