upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts/launcher_python.sh
diff options
context:
space:
mode:
authorroanh47 <roanh47@users.noreply.github.com>2026-11-24 17:22:18 +0100
committerroanh47 <roanh47@users.noreply.github.com>2026-11-24 17:22:18 +0100
commited1de62abbb56aeff5a292b7b353b7c5068915e1 (patch)
tree84a8fbbc1d0764bc853b7322e92570863d6a2145 /scripts/launcher_python.sh
parente82ca07b790dac7dc083cabaabd74f3da78d619c (diff)
vk: make the host-region probe skip where it cannot import
Every capability result now exits 77 with one SKIP line: a usage or handle type the driver reports as not importable (the Vulkan 1.1 vkGetPhysicalDeviceExternalBufferProperties query, before anything is allocated), an import or bind the driver refuses with VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_OUT_OF_HOST_MEMORY or VK_ERROR_INVALID_EXTERNAL_HANDLE, and a VirtualAlloc that fails for want of commit. VK_ERROR_DEVICE_LOST and every other VkResult stay exit 1, so a lost device or a coherence mismatch still fails the test. Before, an allocation refusal exited 0, which read as a pass. The copy whose destination the CPU compares now ends with the same transfer -> host barrier the fill path already had: without it the copy's writes are not made available to the host read. VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT is honoured with VkMemoryDedicatedAllocateInfo, so the probe follows the driver instead of skipping a device that requires it. runtime/CMakeLists.txt adds vk_host_region_import_validation, the same 185 MiB import under VK_LAYER_KHRONOS_validation and synchronization validation; the binary skips it when the layer is not installed, so a machine without the SDK does not fail it. The default case is unchanged: 185 MiB, 77 skip code, 120 s timeout.
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions