radv: remove occurrences of VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR

This layout is illegal without VK_KHR_shared_presentable_image which
RADV doesn't support.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39717>
This commit is contained in:
Samuel Pitoiset 2026-02-05 13:06:15 +01:00 committed by Marge Bot
parent f2d7d998a2
commit 695cf07f8a
2 changed files with 0 additions and 2 deletions

View file

@ -1622,7 +1622,6 @@ radv_layout_is_htile_compressed(const struct radv_device *device, const struct r
case VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL:
return radv_tc_compat_htile_enabled(image, level) ||
(radv_htile_enabled(image, level) && queue_mask == (1u << RADV_QUEUE_GENERAL));
case VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR:
case VK_IMAGE_LAYOUT_GENERAL:
/* It should be safe to enable TC-compat HTILE with
* VK_IMAGE_LAYOUT_GENERAL if we are not in a render loop and

View file

@ -2248,7 +2248,6 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR,
VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR,
VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR,
VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR,
VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR,
VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR,
VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR,