nouveau: Add missing nir_opt_algebraic_late.
This was needed for nir_lower_frexp, but it's a win anyway. shader-db results: total gpr in shared programs: 1143621 -> 1143502 (-0.01%) gpr in affected programs: 33918 -> 33799 (-0.35%) total instructions in shared programs: 7829415 -> 7820124 (-0.12%) instructions in affected programs: 1204967 -> 1195676 (-0.77%) total bytes in shared programs: 71802760 -> 71717352 (-0.12%) bytes in affected programs: 11031888 -> 10946480 (-0.77%) Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22083>
This commit is contained in:
@@ -3380,6 +3380,8 @@ Converter::run()
|
||||
if (nir->info.stage == MESA_SHADER_FRAGMENT)
|
||||
NIR_PASS_V(nir, nv_nir_move_stores_to_end);
|
||||
|
||||
NIR_PASS(progress, nir, nir_opt_algebraic_late);
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_bool_to_int32);
|
||||
NIR_PASS_V(nir, nir_lower_bit_size, Converter::lowerBitSizeCB, this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user