diff options
author | Erik Faye-Lund <[email protected]> | 2019-07-11 16:25:25 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-28 08:51:46 +0000 |
commit | 06859b70b9b38d86421995852035c0d1c79973ae (patch) | |
tree | 0e2cf00f7fb057ee4004aea8795d440817ef2afe /src/gallium/drivers | |
parent | b5bfb72fce20b3381a5b73612cc71e6db6ae3976 (diff) |
zink: more converts
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) \ |