spirv: handle SpvOpUConvert in proper place.
This was falling into the quantizetof16 path. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2d0b145902
commit
14167080e2
|
@ -286,8 +286,8 @@ vtn_nir_alu_op_for_spirv_opcode(SpvOp opcode, bool *swap,
|
|||
|
||||
/* Conversions: */
|
||||
case SpvOpBitcast: return nir_op_imov;
|
||||
case SpvOpUConvert:
|
||||
case SpvOpQuantizeToF16: return nir_op_fquantize2f16;
|
||||
case SpvOpUConvert:
|
||||
case SpvOpConvertFToU:
|
||||
case SpvOpConvertFToS:
|
||||
case SpvOpConvertSToF:
|
||||
|
|
Loading…
Reference in New Issue