Repository navigation
Run the exhaustive D24 GPU conversion check with CTest - #1266
Conversation
The exhaustive compute readback was built on CI but missing from its test list. Preserve device initialization failures and let CTest distinguish an unavailable GPU from a successful comparison.
|
Tested on Windows 11 with two GPUs on one machine (runtime built from this PR's head, MSVC 14.51):
Registering it is worth it: ctest would have shown the Intel NaN bug, which went unseen because this test only ran by hand. |
|
Tested fd77619 on NVIDIA GeForce RTX 3090 (Ampere, subgroup 32..32), driver 610.88 (Vulkan 1.4.341), Windows 11 Pro 26300: pass. The PR's diff applied cleanly to
No game files. |
|
Merged upstream e7584c5 into the topic branch without rewriting history. Head be43ac1 now contains #1247. The registered depth24_convert test passed again with validation on RTX 5080 (9.60 s) and Radeon Graphics (9.02 s), including the two infinities and every signed NaN payload. @kapitche, this is the integrated commit for repeating the CTest on the UHD 770. |
|
Tested
The run used synthetic inputs with Vulkan validation layers disabled. |
Claimed in the coordination issue as: #1218 (comment)
What and why
The runtime builds depth24_convert_test on Windows and Linux. Its executable checks all 16,777,216 depth words in both directions, float quantization against the CPU reference and pitched copies. It was missing from CTest and from the shader sweep. Running the executable directly previously reported an initialization error as a successful skip.
Register the existing GPU test when BUILD_TESTING is on. Use the Vulkan test device's three initialization results: unavailable returns 77 for CTest to skip, failed returns 1, and ready runs the comparison. The converter and its expected outputs stay the same. #1247 independently changes the compute pass for the Intel NaN discrepancy.
Tested
Windows 11, MSVC 19.44/Ninja. The merge-base CTest invocation with --no-tests=error -R "^depth24_convert$" found zero tests and exited 8. The same filter now registers one test.
Both hardware runs reported exact matches for all 16,777,216 uploads, round trips and CPU-referenced patterns, the pitched copy, and zero validation errors.
Checklist
AI-assisted implementation and testing.