pvr, pco: Set has_f2i32_rtne to true
Set the has_f2i32_rtne shader compiler option to indicate hardware support for it. This enables NIR's late algebraic optimization pass to generate more efficient code for float-to-int conversions. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Simon Perretta <simon.perretta@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37680>
This commit is contained in:
parent
37507f26df
commit
553e4252ba
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ static const nir_shader_compiler_options nir_options = {
|
|||
.discard_is_demote = true,
|
||||
.fuse_ffma32 = true,
|
||||
|
||||
.has_f2i32_rtne = true,
|
||||
.has_fused_comp_and_csel = true,
|
||||
|
||||
.instance_id_includes_base_index = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue