mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-21 03:10:35 +01:00
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:
parent
f2d7d998a2
commit
695cf07f8a
2 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue