radeonsi/gfx11: use SET_SH_REG_PAIRS_PACKED for compute by buffering reg writes
authorMarek Olšák <marek.olsak@amd.com>
Sun, 11 Jun 2023 22:37:26 +0000 (18:37 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 22 Jun 2023 08:35:55 +0000 (08:35 +0000)
commit69bc1180b77ae366e05298e892f3e83079414cd8
treed7cb38e50e4de0564ff9f9c1aa386f202210141b
parent1753b321f8766783b73f153131c575b868c5cd12
radeonsi/gfx11: use SET_SH_REG_PAIRS_PACKED for compute by buffering reg writes

This is the compute portion of the work. It uses a separate buffer
for compute SH registers in si_context.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23517>
src/gallium/drivers/radeonsi/si_build_pm4.h
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.cpp