mesa/src/vulkan
Hans-Kristian Arntzen 32f7ff2c20 wsi/x11: Fix present ID signal when IDLE comes before COMPLETE.
It appears to be possible that IDLE is observed before COMPLETE.
In this case, an application may access present_id in subsequent
QueuePresentKHR and race against the fence worker reading present_id.

Solve this by adding a separate signal_present_id that is used when
completing to avoid the race.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22633>
2023-04-21 19:15:06 +00:00
..
device-select-layer meson: replace vk_wsi_args with dependencies to let meson take care of transitivity 2023-02-23 09:42:46 +00:00
overlay-layer vulkan/overlay: deal with unknown pNext structures 2023-04-17 15:41:58 +03:00
registry vulkan: Update XML and headers to 1.3.246 2023-03-31 11:43:20 +00:00
runtime vulkan: Fix GetPhysicalDeviceSparseImageFormatProperties definition 2023-04-18 09:49:44 +00:00
util vk/entry_points:: fix mingw build 2023-04-20 16:51:58 +00:00
wsi wsi/x11: Fix present ID signal when IDLE comes before COMPLETE. 2023-04-21 19:15:06 +00:00
meson.build vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +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