mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
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:
parent
6ff98f9313
commit
00faefa08e
1 changed files with 3 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue