tu: Report missing layout support for host_image_copy with unifiedLayouts.

Fixes dEQP-VK.image.host_image_copy.properties.properties in
vulkan-cts-1.4.5.3

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41245>
This commit is contained in:
Emma Anholt 2026-04-28 10:53:36 -07:00
parent d369759972
commit 65f5319522

View file

@ -1496,7 +1496,9 @@ tu_get_properties(struct tu_physical_device *pdevice,
VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL,
VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL,
VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT,
VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR,
VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT,
VK_IMAGE_LAYOUT_RENDERING_LOCAL_READ,
};
props->pCopySrcLayouts = (VkImageLayout *)supported_layouts;