radeonsi: merge si_emit_initial_compute_regs with si_init_cs_preamble_state
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Feb 2023 11:38:00 +0000 (06:38 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Mar 2023 07:29:09 +0000 (07:29 +0000)
commit54ebd9073988ea22e0bc67c02b156bc581e1e497
treeda790ef494b4aa4be59da51b6036c22ae7d11bcc
parentddded6fbb583427caf62ee272f72bc3dbfaae6b8
radeonsi: merge si_emit_initial_compute_regs with si_init_cs_preamble_state

It's better to set all immutable registers in one place.

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