radv: Use ac_compute_late_alloc in radv_pipeline.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 15 Jul 2021 09:48:25 +0000 (11:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 4 Aug 2021 15:37:05 +0000 (15:37 +0000)
commitd911259c3a47fd35a7afdaa45182ba87e9b501b2
tree75d9f832e922280ff7795bb37452e5ed8c4b0c87
parent61eb3debcfc6a7f3fa2adbb2133dc502ea7d9b6b
radv: Use ac_compute_late_alloc in radv_pipeline.

This aligns RADV with RadeonSI in how it handles late alloc,
making it easier for us to deal with deadlocks and such.

Also move setting the RSRC3 registers for VS, GS and NGG
into radv_pipeline.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11905>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/si_cmd_buffer.c