Repository navigation
Conversation
|
Tested 9e885f8 on Windows 11. Both copy tests pass on the NVIDIA GeForce RTX 4090 (driver 32.0.16.2101) and AMD Radeon(TM) Graphics (driver 32.0.21043.5001). The device lines confirm each Vulkan adapter. CTest selects WARP for the native comparison. I built the two changed targets with MSVC 14.51 in RelWithDebInfo. I ran
With the same unmatched filter at merge base d974c88, CTest skips both tests and exits 0. This check covers the two changed tests. AI-assisted. |
|
APPROVE.
The fix follows the existing Non-blocking notes: AI-assisted review, synthetic data only, local GPU. |
|
Tested 9e885f8 on NVIDIA GeForce RTX 4080 (driver 617.42), Windows 11, test programs cross-built with clang-cl + xwin: pass on the normal runs, judged by each program's printed result lines.
The unmatched LEONIDA_VK_DEVICE case (fail instead of skip) was not run here. AI-assisted. |
|
Also tested
AI-assisted (Claude Code). |
|
Verified against main 3faac55: clean merge; the change makes the two copy tests use vktest::Device::initialize() with DeviceStatus (runtime/test/vk_test_device.h:62), matching the pattern the other d3d12_* tests already use, so a real setup failure exits 1 instead of silently skipping as 77. Main still has the old !vk.create() line in both files. Binaries not built or run here (no GPU/Wine/cmake on this verifier) — and note this branch currently reports no CI checks at all, so nothing has validated it on the GitHub side yet. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Claimed as a new TEST item: #4816 (comment)
What and why
d3d12_copy_xfmt_testandd3d12_stencil_copy_testused the booleanvktest::Device::create()wrapper. That conflates an unavailable Vulkan device with a setup failure, so an explicitly unmatchedLEONIDA_VK_DEVICEfilter prints an error but exits 77 and CTest reports a skip. Use the existingDeviceStatusresult: skip onlyunavailable, fail on other non-ready states. This is limited to the two whole-resource copy tests and is separate from #4852's presenter test.Tested
d3d12_copy_xfmtandd3d12_stencil_copyCTests passed 2/2 normally (46 cross-format comparisons, 0 differences; 24 stencil cases matched both planes against WARP).LEONIDA_VK_DEVICE=__codex_no_such_gpu__, the patched binaries fail 2/2 and CTest exits 8. An independent rebuild from the parent source incorrectly skipped both with CTest exit 0. Reapplying the fix reproduced the failed status.git diff --checkpassed.Synthetic tests only; no game files or game-derived content. AI-assisted (Codex daybreak-blue implementation and independent review).
Checklist