Repository navigation
Conversation
|
Tested
AI-assisted. No game files. |
|
Comparison with #6053 (coordinator asked, 13:08). They conflict in How they differ in what they would catch:
No failure from either on this machine. |
|
Tested 81b9611 on NVIDIA GeForce RTX 3060 Ti (driver 610.88, 256-byte push constants), Windows 11, MSVC 14.50, Vulkan SDK 1.4.363, LEONIDA_VK_VALIDATION=1: pass, exit 0. "d3d12_depth_resolve: 128 host comparisons matched, 12 refusals kept the destination, 0 modes the device lacks were refused; 20 edge MIN/MAX pairs differ" — RTX 3060 Ti hardware 57/97 + WARP 71/71, same shape as your RTX 5080 run. No validation errors. AMD Radeon(TM) Graphics iGPU (Ryzen 9 7900X, gfx1036, driver 24.10.24, 128-byte push constants): the test cannot run on main there yet — its draws need the 144-byte push-constant range and the layer refuses the PSO until #2402 lands. Will re-check the AMD AVERAGE quirk path once that merges. AI-assisted. No game files. |
|
Updated to Final local runs pass on RTX 5080 (97/97 hardware, 71/71 WARP) and gfx1036 (49/83 plus 18 existing quirks, 57/57 WARP), with validation enabled. Four temporary fault-injection controls confirm: non-averaging hardware is classified; averaging-but-different hardware fails; WARP differences fail; and the layer invariant fails independently. Details are in the updated PR body. The integrated head has not been tested on RDNA4. |
|
The RDNA4 run for the combined head
The six cases are classified by what the host returned, not by vendor: each prints So on the card the finding is from, this head does everything #6053 does and also holds the layer's edge AVERAGE to WARP's. Only this test was built and run, not the whole suite; I did not repeat your fault injections here. Thanks for the credit. AI-assisted (Claude Code). Synthetic test only, no game files. |
|
Tested on Windows 11, AMD Radeon RX 7900 GRE (RDNA3, gfx1100), MSVC (VS 2022 RelWithDebInfo): pass, exit 0.
|
|
Verified at your force-pushed head dfcfc15 (this is the head the verdict is for) on main 561b65a: the change touches only the Windows-side C++ depth-resolve test, which this Linux CPU-only verifier cannot build or run — that needs the D3D12 hosts. On review the rework is sound and stricter than the first revision: the layer's AVERAGE must lie strictly between its own MIN and MAX unconditionally, and a host divergence is a reported quirk only when the host's MIN/MAX match the layer's while its own AVERAGE provably sits outside them — no vendor-id sniffing, so WARP and correctly-averaging hosts stay hard comparisons. Planes& expected aliasing and includes are present, docs guards green. Flag: the branch reports no CI checks — a push would get it built. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only review). |
heykz
left a comment
There was a problem hiding this comment.
Code review at dfcfc15dd (AI-assisted, no GPU run on this head). I found one remaining path that can downgrade an edge AVERAGE mismatch. In the host loop, if (c.edge && ((warp && c.mode != average) || quirky(c))) also accepts an AVERAGE case through quirky(c) when the earlier flat case with the same name/mode/rectangle differs from the clears. That branch prints an informational line and continues even if the edge AVERAGE comparison failed and the new MIN/MAX-based rule did not classify it. This can also happen on WARP if its matching flat case enters quirks_seen.
If WARP AVERAGE and averaging-but-different hardware are meant to stay hard comparisons, could the legacy information-only branch apply only when c.mode != average (with warp || quirky(c) inside that guard)? A useful negative control would combine a flat-case quirk with an incorrect edge AVERAGE on the same case.
Item: TEST-1470 (claim).
This integrates the behavior-based host classification and layer invariant from #6053 by @emirduran707 with this PR's strict WARP comparison.
docs/d3d12_vulkan.mdrecords the rule and the RX 9060 XT measurement from d3d12_depth_resolve: a host that does not average an edge AVERAGE is a host quirk (TEST-1470) #6053.Tested at
dfcfc15ddWindows 11, MSVC 14.44, Vulkan SDK 1.4.363,
LEONIDA_VK_VALIDATION=1:Temporary local fault injection, not included in the commit:
python -m pytest tests/test_docs_*.py -q: 33 passed, 6 subtests passed.python -I scripts/check_no_game_data.pyandgit diff --check: passed.Synthetic test data only; no game files or game data.
AI-assisted: Kimi Work. Behavior-based rule and layer invariant originally implemented in #6053 by @emirduran707.