radv: Remove the sparse binding queue from coherent images.

Never access the image on the queue family, so no need.

(Technically not sure if this is needed for Vulkan, somewhat of
 a backstop in case apps do it)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16935>
This commit is contained in:
Bas Nieuwenhuizen 2022-06-08 00:37:50 +02:00 committed by Marge Bot
parent 6ff98f9313
commit 00faefa08e

View file

@ -1933,6 +1933,9 @@ radv_image_create(VkDevice _device, const struct radv_image_create_info *create_
else
image->queue_family_mask |=
1u << vk_queue_to_radv(device->physical_device, pCreateInfo->pQueueFamilyIndices[i]);
/* This queue never really accesses the image. */
image->queue_family_mask &= ~(1u << RADV_QUEUE_SPARSE);
}
const VkExternalMemoryImageCreateInfo *external_info =