mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue