radeonsi: fix max_dw computation for CS preambles
authorMarek Olšák <marek.olsak@amd.com>
Mon, 10 Oct 2022 21:18:52 +0000 (17:18 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 18 Oct 2022 22:42:28 +0000 (22:42 +0000)
commita9341eb9dadcb4688181ec3bfe4bfeb1153d86e4
treedcb56d17320d46758d21cd537d1747f326f67c75
parentc62170fe57b90bd0b2387ddf25a755e9428e3587
radeonsi: fix max_dw computation for CS preambles

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