Repository navigation
Tests: register d3d12_clear in ctest again (TEST-919) - #4294
Conversation
Kam471
left a comment
There was a problem hiding this comment.
Built d3d12_clear_test at 064d578e and ran ctest -R '^d3d12_clear$' on Windows 11, RTX 5070 Ti: failed, exactly as the PR predicts:
R8G8B8A8_UNORM ... Vulkan 7f, WARP 80
R8G8B8A8_SNORM ... Vulkan 3f, WARP 40
B8G8R8A8_UNORM / B8G8R8X8_UNORM ... 7f vs 80
depth format 55 case 1 ... ff vs 00
5 color/depth format(s) differ from WARP
The 3D RTV case still passes (648 texels match WARP). This is the known 0.5 tie-rounding difference that #521 (D3D-45, still OPEN at c0a92ebc) fixes, and the PR says to merge only after #521. The registration itself is the intended two lines; no code issue, but do not merge before #521 or the new ctest entry goes red on NVIDIA.
|
Tested 064d578 merged with #521's head c0a92eb (local merge, as "merge after #521" asks) on NVIDIA GeForce RTX 3070 (Ampere), driver 617.42, Windows 11 24H2, MSVC 19.44:
No game files. AI-assisted (Claude). |
|
Dependency check: I built and ran *#521 at \c0a92ebc* on Windows 11, RTX 5070 Ti. Its \d3d12_clear_test\ default mode now reports 197 full/rectangle readbacks matched WARP (exit 0) and \d3d12_clear_formats_test\ reports 178 matched, 0 differ; \ctest -R d3d12_clear\ is 2/2. So once #521 merges, this PR's re-registration should go green on NVIDIA. Do not merge this one before #521. |
|
AI-assisted. |
|
AMD data point. Tested
Unlike NVIDIA (the five failures @kingzzim7-create and @Kam471 saw without #521), AMD already matches WARP on main. Every clear comes out as WARP's on this card even without #521, so the tie-rounding cases fail only on NVIDIA here. I didn't check the individual tie values. Merging this after #521, as agreed, is green on AMD too. AI-assisted (Claude Code). No game files. |
|
AMD data point, since the runs so far are all NVIDIA: on AMD Radeon iGPU (gfx1036, RDNA2, Windows driver 25.10.30.02), Windows 11, MSVC 14.51, So AMD already rounds the 0.5 clears like WARP, and the re-registered AI-assisted: yes. |
Claimed in the coordination issue as: TEST-919
Depends on: #521
What and why
3fc0b21 took
d3d12_clear_test's default mode out of ctest because NVIDIA rounds a 0.5 clear to 0x7f where WARP gives 0x80, the tie rounding #521 (D3D-45) fixes. This restores the two lines it removed (add_test(NAME d3d12_clear ...)andSKIP_RETURN_CODE 77), so new cases in that test run in CI again. Merge after #521.Tested
NVIDIA GeForce RTX 4060 Ti, driver 621.01, Windows 11, MSVC 14.52 (Visual Studio 2026),
scripts\build_runtime.ps1, thend3d12_clear_test.exewith no arguments:Checklist
docs/design.md, with how it was confirmed. (Not applicable: test registration only.)AI-assisted: yes (Claude).