mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
microsoft/compiler: Handle undef-rounding f2f16 as rtz
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21029>
This commit is contained in:
parent
8782a0b8df
commit
f50843fcdb
1 changed files with 2 additions and 0 deletions
|
|
@ -2107,6 +2107,7 @@ get_cast_op(nir_alu_instr *alu)
|
|||
|
||||
/* float -> float */
|
||||
case nir_op_f2f16_rtz:
|
||||
case nir_op_f2f16:
|
||||
case nir_op_f2f32:
|
||||
case nir_op_f2f64:
|
||||
assert(dst_bits != src_bits);
|
||||
|
|
@ -2707,6 +2708,7 @@ emit_alu(struct ntd_context *ctx, nir_alu_instr *alu)
|
|||
case nir_op_u2f16:
|
||||
case nir_op_i2f16:
|
||||
case nir_op_f2f16_rtz:
|
||||
case nir_op_f2f16:
|
||||
case nir_op_b2i32:
|
||||
case nir_op_f2f32:
|
||||
case nir_op_f2i32:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue