radeonsi: don't use INDIRECT_BUFFER within IBs
authorMarek Olšák <marek.olsak@amd.com>
Tue, 19 May 2020 03:14:03 +0000 (23:14 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 23 May 2020 07:44:44 +0000 (03:44 -0400)
commit3cd96b510938536e264907aa3886774a853c0821
tree2d65a84e898f195bcf7db4c85f162844a1f1dc7e
parent8db739880af2d50e871b6bd27437a2ad37cf6c00
radeonsi: don't use INDIRECT_BUFFER within IBs

It's fragile. If I change the size or alignment, it hangs. Better safe than
sorry.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5095>
src/gallium/drivers/radeonsi/si_pm4.c
src/gallium/drivers/radeonsi/si_pm4.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_shaders.c