radv: move emitting GE_CNTL for non-NGG pipelines from the cmdbuf
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 29 Aug 2022 16:35:52 +0000 (18:35 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 13 Sep 2022 08:24:14 +0000 (08:24 +0000)
commit76960e2d93501348a4ef4d65a26120ea764682b9
tree06c0f24ea40993a09d7a4d4de07137b841d5550f
parent0bf822144f1d14f287e3d8656a7b326e0a4824d5
radv: move emitting GE_CNTL for non-NGG pipelines from the cmdbuf

GE_CNTL is the equivalent of IA_MULTI_VGT_PARAM on GFX9 and older.
Calling this function for every draw shouldn't really hurt in practice
because only non-NGG pipelines need this.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18344>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h