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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user