aco: rework scratch resource code
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 10 Oct 2019 11:15:49 +0000 (12:15 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Thu, 10 Oct 2019 20:02:36 +0000 (20:02 +0000)
commit283eda71cf457294ab5388b12ab7d740201c0f99
tree0520f173a5e1fa1437c441bb28e3ff5e122befa3
parentf64b1a345405fd3dbd14561dfd1cf082123eb4bf
aco: rework scratch resource code

Fix compute, cleanup and add GFX10 support.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
src/amd/compiler/aco_instruction_selection.cpp