radv: do not add descriptor BOs on update when the global BO list is used
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 Jan 2023 16:04:01 +0000 (17:04 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Mar 2023 07:30:29 +0000 (07:30 +0000)
commit5ec80ab37c65a5e0ec94bc525c4fd617315c8853
treeb353e955693aeb5ed6e7ed48559d9a5ed2c4b304
parent1aca36815ee8154d65908904ffb3d13729f337e8
radv: do not add descriptor BOs on update when the global BO list is used

It's unnecessary and already checked elsewhere like in
vkCmdBindDescriptorSets(). This improves performance of vkoverhead
test #76 (descriptor_1image) by +18%. It's the same performance as
PRO on my Threadripper 1950X now. This should also slightly improve
texel and buffer descriptors.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20699>
src/amd/vulkan/radv_descriptor_set.c