aco: use storage_scratch
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 5 May 2020 10:54:59 +0000 (11:54 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jul 2020 16:56:34 +0000 (16:56 +0000)
commit8a16498cc63653e374cfa672c2423f7e3d283b7b
treee6e1e0b933b96715a4a11f486455109cf5e4768b
parent46c4b256239b12eb808a3c4df2ec625c3dd90e76
aco: use storage_scratch

fossil-db (Navi):
Totals from 9 (0.01% of 114665) affected shaders:
VMEM: 14456 -> 15312 (+5.92%)
VClause: 336 -> 327 (-2.68%)

Helps 9 Dark Souls 3 shaders a little.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4905>
src/amd/compiler/aco_instruction_selection.cpp