glsl: Remove opt_array_splitting.

nir_lower_vars_to_ssa will split temp arrays up anyway.  Fixes a bug where
split arrays wouldn't get their precision qualifier.

Helps mostly Android and skia shaders.  Also affects Civ5, Witcher 2, and
Borderlands 2.

freedreno shader-db:
total instructions in shared programs: 11319395 -> 11319355 (<.01%)
instructions in affected programs: 65744 -> 65704 (-0.06%)

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18466>
This commit is contained in:
Emma Anholt
2022-09-07 06:28:14 -07:00
committed by Marge Bot
parent f862f9112f
commit a19c0ce9b2
4 changed files with 0 additions and 515 deletions

View File

@@ -172,7 +172,6 @@ files_libglsl = files(
'lower_vector_derefs.cpp',
'lower_vector_insert.cpp',
'opt_algebraic.cpp',
'opt_array_splitting.cpp',
'opt_constant_folding.cpp',
'opt_constant_propagation.cpp',
'opt_constant_variable.cpp',