Repository navigation
Conversation
|
Tested f40ce7d on Arch Linux (in a VM), GCC, Ninja, RelWithDebInfo, Mesa llvmpipe: pass. Of the eight programs, the four Vulkan ones that build on Linux are covered here:
With the runtime of |
|
Tested f40ce7d on Windows 11 with an NVIDIA GeForce RTX 4090 (32.0.16.2101) and AMD Radeon(TM) Graphics (32.0.21043.5001). The setup status checks pass on both adapters. I built all eight changed executables with MSVC in RelWithDebInfo. I ran each executable directly. The device lines confirm the selected adapters.
For the unmatched selector, I set Two checks on merge base
AI-assisted. |
|
Tested AI-assisted (Claude Code). Synthetic data only, no game files. |
|
Tested f40ce7d on Intel UHD 770 (driver 32.0.101.7088), Windows 11, MSVC 19.44: three of the PR's tests pass, and dxgi_device_test stops before the PR's Vulkan hunk on this GPU. Native MSVC build, session without an interactive window station, LEONIDA_VK_VALIDATION=1:
The PR's negative cases (unmatched LEONIDA_VK_DEVICE exits 1, missing ICD exits 77), vk_bc_zero_init_test, vk_fence_dispatcher_sync_test, vk_queue_query_sync_test and xbox_present_test were not run. AI-assisted. |
Claimed in the coordination issue as: Vulkan CTest status batch (carried into #4933).
What and why
The remaining eight test programs treated every failed Vulkan initialization as an unavailable device. This hid explicit setup failures, including an unmatched
LEONIDA_VK_DEVICE, as CTest skips or successful host-backend fallbacks. Usevktest::Device::initialize()at all 10 sites sofailedexits 1, whileunavailablekeeps the existing skip/fallback behavior. Thequeue_proxy_testdiff child also distinguishes the two statuses. This does not overlap #4852 or #4902.Tested
Windows, NVIDIA GeForce RTX 5070, driver 621.01, MSVC 19.44 Release. Built all eight changed targets. Normal device: 7/7 registered CTests passed; standalone
vk_queue_testexited 0. Unmatched selector: all seven CTests failed as intended andvk_queue_testexited 1, including proxy tests after their host backends passed. Missing ICD with selector unset: four Vulkan-only CTests skipped (77), three proxy tests passed using host fallback, andvk_queue_testexited 77. Thequeue_proxy_test --diff vulkan 0 realchild returned 77 for an unavailable ICD and 1 for the unmatched selector.git diff --checkpassed. The build used explicit Vulkan SDK and Python paths because default CMake discovery missed them on this host.AI-assisted: yes, Codex daybreak-blue worker; contributor reviewed the diff.
Checklist