upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorAimLogin <4jt8mn8wjn@privaterelay.appleid.com>2026-11-22 14:24:16 +0100
committerAimLogin <4jt8mn8wjn@privaterelay.appleid.com>2026-11-22 14:24:16 +0100
commita5a1eb231e08b81101ae518f873fbfe28d912c83 (patch)
tree8cbf75e5be7b573e612646c595235a6f58ee88ac /runtime/test/gameinput_test.cpp
parenta0acd33d77babe67a28e398b2936a9f735a50f5d (diff)
Tests: prove Vulkan synchronization validation is active (TEST-198)
vk_sync_validation_selftest records two vkCmdCopyBuffer into the same bytes on vk_test_device.h's device. With LEONIDA_VK_VALIDATION=1 the write-after-write hazard must be reported, and the same copies with a transfer -> transfer barrier must not be. Without validation, or without a Vulkan device, it exits 77 (ctest skip). Synchronization validation can be off although the tests ask for it, for example with VK_KHRONOS_VALIDATION_VALIDATE_SYNC=false, and every other GPU test then reports 0 validation errors without having been checked. This test fails in that case, and with the Khronos layer missing. docs/testing.md gets a row in its known problems. No runtime code changes, no game files. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions