zink: add missing opcodes

This fixes a bunch of conversion-tests in the arb_gpu_shader_int64
piglit test-suite for me.

Fixes: 55e2d836f3 ("zink: enable 64bit pipe caps")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8403>
This commit is contained in:
Erik Faye-Lund
2021-01-10 13:52:41 +01:00
committed by Marge Bot
parent 6f2017205e
commit 6199651e91
@@ -1275,6 +1275,8 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
UNOP(nir_op_u2f32, SpvOpConvertUToF)
UNOP(nir_op_u2u32, SpvOpUConvert)
UNOP(nir_op_f2f32, SpvOpFConvert)
UNOP(nir_op_f2i64, SpvOpConvertFToS)
UNOP(nir_op_f2u64, SpvOpConvertFToU)
UNOP(nir_op_u2f64, SpvOpConvertUToF)
UNOP(nir_op_i2f64, SpvOpConvertSToF)
UNOP(nir_op_u2u64, SpvOpUConvert)