zink: more conversion ALUs

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7654>
This commit is contained in:
Erik Faye-Lund 2020-12-17 15:02:07 +01:00 committed by Marge Bot
parent fb4a2490d8
commit 21d89adfb8

View file

@ -1244,9 +1244,11 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
UNOP(nir_op_f2u32, SpvOpConvertFToU)
UNOP(nir_op_i2f32, SpvOpConvertSToF)
UNOP(nir_op_u2f32, SpvOpConvertUToF)
UNOP(nir_op_u2u32, SpvOpUConvert)
UNOP(nir_op_f2f32, SpvOpFConvert)
UNOP(nir_op_u2f64, SpvOpConvertUToF)
UNOP(nir_op_i2f64, SpvOpConvertSToF)
UNOP(nir_op_u2u64, SpvOpUConvert)
UNOP(nir_op_f2f64, SpvOpFConvert)
UNOP(nir_op_bitfield_reverse, SpvOpBitReverse)
#undef UNOP