mesa/src/vulkan
Thomas H.P. Andersen f8741cc344 anti-lag: pass a proper dataSize
dataSize was passed as sizeof(uint64_t)

From spec:
dataSize is the size in bytes of the buffer pointed to by pData.
dataSize must be large enough to contain the result of each query

The NVK driver checks that the dataSize is large enough and hit an assert.

This patch changes dataSize to sizeof(struct query) * num_timestamps.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36402>
2025-07-29 15:24:14 +00:00
..
anti-lag-layer anti-lag: pass a proper dataSize 2025-07-29 15:24:14 +00:00
device-select-layer egl/wayland: Move bind_wayland_display to legacy build option 2025-07-10 14:51:20 +00:00
overlay-layer meson: include VkLayer_MESA_overlay in the devenv 2025-06-20 21:51:17 +00:00
registry vulkan: update headers/xml for 1.4.318 2025-06-14 08:21:31 +00:00
runtime vk/sync: Pass dependencyFlags in vk_common_CmdPipelineBarrier 2025-07-29 11:11:29 +00:00
screenshot-layer vulkan/screenshot-layer: Correct queueFamilyIndex source 2025-02-20 22:36:44 +00:00
util vulkan: silence typed_memcpy -Waddress warnings 2025-07-28 17:31:54 +00:00
vram-report-limit-layer vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
wsi vulkan/wsi/x11: Handle VK_NOT_READY in AcquireNextImage() 2025-07-29 15:05:40 +00:00
meson.build vulkan: implement VK_AMD_anti_lag as implicit vulkan layer 2025-07-24 09:50:07 +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