mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
jay: Add support for saturating f2i16 and f2i8 NIR opcodes
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42056>
This commit is contained in:
parent
010b443778
commit
101cc5e331
1 changed files with 5 additions and 1 deletions
|
|
@ -407,8 +407,12 @@ jay_emit_alu(struct nir_to_jay_state *nj, nir_alu_instr *alu)
|
|||
case nir_op_f2f16:
|
||||
case nir_op_f2i16:
|
||||
case nir_op_f2u16:
|
||||
case nir_op_f2i16_sat:
|
||||
case nir_op_f2u16_sat:
|
||||
case nir_op_f2i8:
|
||||
case nir_op_f2u8: {
|
||||
case nir_op_f2u8:
|
||||
case nir_op_f2i8_sat:
|
||||
case nir_op_f2u8_sat: {
|
||||
enum jay_type src_type = jay_alu_source_type(alu, 0);
|
||||
|
||||
/* UGPR byte to float is not supported. Do it in 2 steps. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue