commit | 38a83a30484c5d7dfcdce3c41d71373c09d42668 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Tue Jul 14 13:55:19 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Sep 03 14:26:49 2020 +0000 |
tree | 7c07f655e5e8968a4e9d84d76ca340eb8e99d2f8 | |
parent | c897cd02785bec45596d1c43b906bb4a2e9b06a6 [diff] |
nir/lower_indirect_derefs: Add a threshold Instead of always lowering everything, we add a threshold such that if the total indirected array size (AoA size) is above that threshold, it won't lower. It's assumed that the driver will sort things out somehow by, for instance, lowering to scratch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5909>