mesa/src/vulkan
Lars-Ivar Hesselberg Simonsen 20c0d169e4 vk/sync: Fix execution only barriers
With vkCmdPipelineBarrier, it's possible to specify a barrier with
pipeline stages but without any memory barriers. These might not be
practical, but are legal Vulkan code.

Barriers like this are currently ignored in mesa, as we only convert
barriers with passed memory barriers into vkCmdPipelineBarrier2.

This commit adds handling of execution only barriers by converting them
into a memory barrier without access masks.

Fixes: 97f0a4494b ("vulkan: implement legacy entrypoints on top of VK_KHR_synchronization2")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34187>
2025-04-10 15:28:22 +00:00
..
device-select-layer device-select: Support linux-dmabuf feedback 2025-04-04 06:00:17 +00:00
overlay-layer vk/overlay-layer: fix regression in non-control pathway 2025-04-08 17:52:57 +00:00
registry vulkan: Update XML and headers to 1.4.311 2025-03-25 04:14:06 +00:00
runtime vk/sync: Fix execution only barriers 2025-04-10 15:28:22 +00:00
screenshot-layer vulkan/screenshot-layer: Correct queueFamilyIndex source 2025-02-20 22:36:44 +00:00
util vulkan: add helper for color/depth-stencil capable formats 2025-03-25 08:01:15 +00:00
vram-report-limit-layer vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
wsi vulkan: Use syncobj shim 2025-04-08 15:38:39 +00:00
meson.build vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00