r600/sfn: keep workgroup and invocation ID registers for whole shader
authorGert Wollny <gert.wollny@collabora.com>
Sun, 22 Oct 2023 19:31:08 +0000 (21:31 +0200)
committerEric Engestrom <eric@engestrom.ch>
Sun, 17 Dec 2023 23:48:00 +0000 (23:48 +0000)
commit9d3dc80f4a4ce1bca5fe7113fc13537dcda34e5f
tree4d4a725c13fd3a154437872b69a2a3fecbce709e
parentdf32606655c6dc06d24cdc348d03a777dc838433
r600/sfn: keep workgroup and invocation ID registers for whole shader

For some reason one must not overwrite these values "too early", so
pin them for the whole shader.

Fixes: 79ca45 (r600/sfn: rewrite NIR backend)
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10004

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25846>
(cherry picked from commit eb25c7a4e284cf5a8986978d4f35cb105c073712)
.pick_status.json
src/gallium/drivers/r600/sfn/sfn_shader_cs.cpp