mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
pan/mdg: Drop nir_lower_to_source_mods
shader-db regressions fixed shortly. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5102>
This commit is contained in:
parent
acc5afb0af
commit
f0455de6fc
1 changed files with 0 additions and 5 deletions
|
|
@ -497,11 +497,6 @@ optimise_nir(nir_shader *nir, unsigned quirks)
|
|||
/* Now that booleans are lowered, we can run out late opts */
|
||||
NIR_PASS(progress, nir, midgard_nir_lower_algebraic_late);
|
||||
|
||||
/* Lower mods for float ops only. Integer ops don't support modifiers
|
||||
* (saturate doesn't make sense on integers, neg/abs require dedicated
|
||||
* instructions) */
|
||||
|
||||
NIR_PASS(progress, nir, nir_lower_to_source_mods, nir_lower_float_source_mods);
|
||||
NIR_PASS(progress, nir, nir_copy_prop);
|
||||
NIR_PASS(progress, nir, nir_opt_dce);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue