mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
nir: Add a new nir_op_f2u32_rtne
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41036>
This commit is contained in:
parent
55c4595b2a
commit
0d549f5bde
1 changed files with 1 additions and 0 deletions
|
|
@ -410,6 +410,7 @@ unop_numeric_convert_mp("i2f", tfloat16, tint32, preserve_sz + preserve_inf + ex
|
|||
unop_numeric_convert_mp("u2f", tfloat16, tuint32, preserve_sz + preserve_inf + exact)
|
||||
|
||||
unop_numeric_convert("f2i32_rtne", tint32, tfloat32, "(int32_t)_mesa_roundevenf(src0)", valid_fp_math_ctrl = exact)
|
||||
unop_numeric_convert("f2u32_rtne", tuint32, tfloat32, "(uint32_t)_mesa_roundevenf(src0)", valid_fp_math_ctrl = exact)
|
||||
|
||||
# Note: 64-bit integers are intentionally not supported. Casting u_uintN_max
|
||||
# (and related signed values) to double is precisely representable for upto
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue