aco: don't set private_segment_buffer/scratch_offset on GFX9+
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 21 Feb 2023 16:54:19 +0000 (17:54 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Mar 2023 01:40:30 +0000 (01:40 +0000)
commit1f01a86b3607b5af4393b981c5875dcc8b61eab9
treed937222359ebcdbcb2569616c7d66a049cda863d
parenta33b9d43d846a4e87aff4915e15146e0071c9bd8
aco: don't set private_segment_buffer/scratch_offset on GFX9+

It is unused. Also don't initialize scratch in raytracing stages as it gets
initialized in the prolog shader.

Co-authored-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21780>
src/amd/compiler/aco_instruction_selection.cpp