upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorKarolKurzyna <187065594+KarolKurzyna@users.noreply.github.com>2026-11-23 17:22:22 +0100
committerKarolKurzyna <187065594+KarolKurzyna@users.noreply.github.com>2026-11-23 17:22:22 +0100
commit4ac98342f27f92dac55c0fd80f8ce93c6c183711 (patch)
treea7afc680d0ba9d480781cfa34305c05077c549c8 /runtime/src/thread_stacks.cpp
parent8575d36edc479218972497a7bded8651a42856c0 (diff)
check_sparse_queue_family: skip CONCURRENT contract on single-family GPUs
DeviceState::share() (runtime/shims/d3d12_vulkan_device.cpp) only sets VK_SHARING_MODE_CONCURRENT when the device has >= 2 queue families; Vulkan VUID-VkBufferCreateInfo-sharingMode-00914 forbids CONCURRENT with <= 1 family. On GPUs that expose only one sparse-capable graphics/compute/transfer queue family (such as Intel UHD Graphics 770 Xe-LP, whose second family is VK_QUEUE_VIDEO_DECODE_BIT_KHR only), d3d12_sparse_queue_family_test passes with valid EXCLUSIVE sparse buffers and zero Vulkan validation errors, but check_sparse_queue_family.py failed expecting CONCURRENT with >= 2 families. Inspect vkCreateDevice and the same physicalDevice's vkGetPhysicalDeviceQueueFamilyProperties in the api_dump trace (mirroring runtime/src/queue_families.h). When the physical device genuinely exposes only one sparse-capable family and vkCreateDevice created one family, still validate that every sparse VkBuffer uses EXCLUSIVE with count=0 and that the Khronos validation pass reports zero errors, then exit 77 (CTest skip). Multi-family physical devices remain strictly enforced even if vkCreateDevice erroneously drops to one family.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions