Repository navigation
Conversation
|
Independent code read + build/hygiene check at
AI-assisted review. |
|
Supported-GPU check at a55ba1f: NVIDIA GeForce RTX 3090 / driver 621.24.0.0, Vulkan 1.4.357, validation on. Property line: fullyCoveredFragmentShaderInputVariable=1, tier=3. Positive Vulkan test ran (not skipped): 48 Vulkan/native paired scenarios pass. Focused CTest 4/4 passed; full CTest 159 passed, 0 failed (9 not run: 8 skipped, 1 disabled). 0 validation errors. AI-assisted (OpenCode) |
|
Updated to 628acde and marked ready for review. This keeps the original discussion and exact-head RTX 3090 evidence in place, merges main 3faac55, and adds the portable underestimation-mask/capture suite and documented ABI handoff. Local results: full configured runtime build; 166 CTest passes, 10 skips and one disabled test, no failures; 73 synthetic comparison cases plus negative controls with core + synchronization validation and zero messages; 157 generated modules pass spirv-val. The AMD fixture is a bounded conformance implementation, not a general runtime fallback. The explicit-library FullyCoveredEXT runtime path remains opt-in. The RTX 3090 result above still applies to a55ba1f. A new supported-GPU run at 628acde would validate the consolidated positive path; a skipped positive test is not that evidence. Reproduction commands and remaining Xbox ABI/general instrumentation/resource-integration work are in docs/inner_coverage.md. Dependencies remain #3451 and #3970. |
|
Tested
AI-assisted (Gemini 4 Neon). |
|
Tested 628acde on Intel UHD 770 (driver 32.0.101.7088), Windows 11, MSVC 19.44, Vulkan SDK 1.4.357.0 with Khronos validation: the Tier 3 test skips and the inner coverage matrix stops with exit 1 on this GPU.
AI-assisted. |
|
Tested
Not run: other GPUs/vendors, Linux, the Vulkan validation layer (not installed). No game files. AI-assisted (Claude Code). |
|
Fixed the unsupported-device status in 50506a0. The harness now names the missing primitiveUnderestimation property, and both the individual suite and run.py propagate exit 77 as SKIP rather than converting it to exit 1. An incomplete matrix does not print the final PASS. Validation diagnostics still fail even alongside exit 77; other execution/readback failures remain failures. The optional benchmark uses the same handling. Seven CPU regression checks pass, including a real child process returning 77. The full 73-case synthetic suite and its negative controls still pass on RX 5700 XT with core + synchronization validation, zero messages, and 157 modules accepted by spirv-val. A focused benchmark also passes. I cannot rerun on Intel locally; please recheck the UHD 770 at 50506a0: the expected unsupported-mask result is now exit 77 with the explicit missing-property message, while the native Tier 3 positive test should continue to skip. |
|
@DenRakEiw @tunczzz Thanks for the supported-device runtime checks. Could you also run the separate 73-case underestimation-mask/capture matrix at 19e1964? It is now available through CTest, including exit-77 skip handling, and has a one-command Windows wrapper: ./scripts/run_inner_coverage_matrix.ps1 -Build <your-existing-build> -Config RelWithDebInfoThis configures the opt-in entry, builds the harness and runs ctest --test-dir <build> -C RelWithDebInfo -R '^inner_coverage_matrix$' -VPlease report exact head, GPU/driver, whether the matrix ran or skipped, the 73-case summaries, SPIR-V validation summary and any validation messages. A FullyCoveredEXT runtime test pass alone does not execute this suite. Missing underestimation or validation prerequisites should now show Skipped, not Passed. Local RX 5700 XT results: full matrix passes, 157 valid modules, zero core/synchronization validation messages. The suite contains only hand-authored synthetic fixtures. |
|
Tested The published standalone opt-in Both 1x and 4x capture returned VS=3, GS=1, PS=69. The replay-twice control returned VS=6, GS=2 and different geometry. Synthetic fixtures only. AI-assisted. |
|
Exact-head
Synthetic fixtures only. AI-assisted with Codex. |
|
Tested 19e1964 on RTX 3060, driver 617.14, Windows 11, MSVC 14.44 RelWithDebInfo: pass
AI-assisted. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/d3d12_vulkan.md
|
Tested
Not run: other GPUs/vendors, Linux, the Vulkan validation layer (not installed). No game files. AI-assisted (Claude Code). |
|
Resolved the merge conflict in ebbd553 by merging main 561b65a. The sole conflict was the CMake Vulkan-tools block: kept both our InnerCoverage harness/optional matrix registration and main's vk_ps_sweep entry. No scope expansion. Validation after merging: affected runtime executables and vk_ps_sweep build; focused CTest 8 passed and one expected FullyCoveredEXT skip on RX 5700 XT; the 73-comparison matrix plus negative controls passes with core + synchronization validation and 157 valid modules. Seven runner CPU checks and registration/docs/diff checks also pass. #3451 is now merged, so the description no longer lists it as an outstanding prerequisite. Previous independent GPU results remain attributed to their exact tested heads. |
|
Windows The focused This checks the inherited Tier 3 path in the rebased tree, where the RX 5700 XT run skipped. The scratch fixture ran the positive native and paired cases with the exact runtime and shader code. AI-assisted. |
|
TEST-934: tested Capabilities (my own Setup: head Native Linux, the tests this PR adds
Under Wine 11.20 (Windows build), coverage/raster subset (
No device-loss or out-of-bounds runs. Synthetic fixtures only, no game files. AI-assisted (Claude Code). |
|
CI note on ebbd553: run 45169051820 is red only in the macOS job's "GPU tests on MoltenVK" step (Apple Paravirtual device): |
|
Native Windows run of the optional The registered standalone CTest ran the published matrix unchanged and passed 1/1 in 32.22 seconds with no skip. All 73 comparisons passed, all negative controls detected their expected differences, and all 157 generated SPIR-V modules validated. Vulkan core and synchronization validation reported zero diagnostics. This is the optional matrix run, separate from the earlier Tier 3 check on this adapter. Synthetic inputs only. AI-assisted. |
|
Tested ebbd553 on NVIDIA RTX 4070 SUPER (driver 616.92), Windows 11 26200, MSVC 14.44, Vulkan SDK 1.4.363, RelWithDebInfo: pass, no regression against main 561b65a.
|
Latest head: ebbd553. Merged main 561b65a and resolved the single CMake conflict by retaining both the InnerCoverage executable/optional CTest registration and main's new vk_ps_sweep tool. No Tier 3 scope expansion.
Post-merge validation: all affected conservative-raster executables, vk_inner_coverage and vk_ps_sweep build successfully; focused CTest 8 passed, 1 expected FullyCoveredEXT skip, zero failures; the separate 73-comparison matrix plus negative controls passes with core/synchronization validation and 157 valid modules. Seven runner CPU tests, CTest registration, documentation links/paths and diff checks pass. Tested on the same RX 5700 XT / MSVC 19.44 environment described below. Historical full-suite and independent GPU results below retain their original commit attribution.
Matrix-registration change: 19e1964. The 73-case mask/capture suite now has an optional CTest entry,
inner_coverage_matrix, withSKIP_RETURN_CODE=77, a 600-second timeout and gpu/conservative/inner_coverage labels. It is off by default and requires Python, glslang, spirv-as, spirv-val and Khronos validation.One-command Windows setup/build/run (tools on PATH or already cached):
Use
-Build <existing-build> -Config <configuration>as needed; explicit tool-path arguments are documented in docs/inner_coverage.md. For an enabled/configured build, runctest --test-dir <build> -C <configuration> -R '^inner_coverage_matrix$' -V. The normal FullyCoveredEXT tests do not substitute for this matrix. Please report actual execution of the 73 comparisons, exact head, GPU/driver, final summary and validation messages; an unavailable-device skip is not a positive result.Validated locally through both standalone CTest and the normal-runtime PowerShell command on RX 5700 XT: the matrix passes (73 comparisons plus negative controls, 157 valid modules, core + synchronization validation, zero messages). Runner CPU checks (7), registration checks and documentation/LF checks pass. Earlier exact-head runtime/GPU evidence remains attributed below.
Skip-status fix: 50506a0. Follow-up to the Intel UHD 770 report: missing mask capabilities now propagate exit 77 / SKIP through the harness, child suite and top-level runner. Missing primitiveUnderestimation has an explicit diagnostic. Real execution/readback errors remain failures, and validation diagnostics take precedence over a skip status. The optional benchmark follows the same contract.
Verification of this follow-up: 7 CPU status-contract tests passed (including an actual child-process skip); RX 5700 XT 73 comparisons plus negative controls passed, 157 modules valid, core + synchronization validation with zero messages; focused optional benchmark passed; build, Python compilation, LF checks and diff checks passed. Intel hardware is not available locally; an exact-head UHD 770 recheck is requested. Earlier full-runtime and independent supported-device results below retain their original commit attribution.
Claimed as D3D-457. Consolidation status: #4933 (comment)
Original reservation: #4084 (comment)
Prerequisite #3451 is now merged into main; there is no remaining unmerged prerequisite PR.
Supersedes #3970: its native Tier 3 reference test, CMake registration and runner script are already included here. The reference test source and runner match #3970 head fedc442. Its discussion and independent GPU reports remain available at #3970; they retain their original commit attribution. #3970 is not a separate merge prerequisite. #4498 is complementary metadata tooling, not a build dependency.
What and why
Adds conservative-rasterization Tier 3 for caller-owned SPIR-V libraries with an explicit FullyCoveredEXT input contract, and commits the synthetic underestimation-mask implementation and regression suite for investigating devices without FullyCoveredEXT.
This consolidates the previous draft in place so its review and independent GPU evidence remain attached. The runtime/library scope is ready for review. Automatic Xbox shader translation and a general AMD runtime fallback are not implemented or advertised. The AMD-capable mask/capture implementation is an executable synthetic fixture; it is not wired into arbitrary runtime draws.
Consolidation baseline: 628acde, merged with main 3faac55 without conflicts.
Runtime and reusable components
Synthetic mask/capture implementation
The dedicated Vulkan executable is built by the normal runtime build with Vulkan headers and can also be built standalone. The portable Python runner has no machine-specific paths, requires core and synchronization validation, and validates generated modules with spirv-val.
Tested at this consolidated head
Windows build 26200, AMD Radeon RX 5700 XT, driver 32.0.21045.5002, MSVC 19.44; Khronos validation layer 1.4.363 for the synthetic suite.
Independent supported-GPU evidence retained
sds-228's RTX 3090 result applies to a55ba1f, before this consolidation: driver 621.24.0.0, Vulkan 1.4.357, FullyCovered property=1, Tier 3, 48 positive Vulkan/native scenario pairs, four focused checks and zero validation errors. Their reported full run was 159 passed, eight skipped and one disabled.
This is positive evidence for the explicit-library path at that exact head. It is not represented as a positive RTX run of the new consolidated head. A fresh supported-device check of 628acde is welcome; the local AMD result cannot substitute for it. The earlier code review remains available in this PR's discussion.
ABI investigation, reproduction and handoff
See docs/inner_coverage.md for commands, the regression matrix, public source references, measured PC input-register experiments and a task/evidence handoff table.
The investigation distinguishes SFI0 bit 0x400, signature value 70, DXIL semantic kind 15 and opcode 92. InnerCoverage is NotInSig; missing ISG1 does not prove non-use. Public AMD pipeline selectors and PC ENA/ADDR reservation experiments do not establish the Xbox ABI. False is zero; true has bit 0 set, with other bits potentially undefined.
Remaining work is explicitly separated:
These are follow-ups, not claims of functionality already implemented. The explicit-library runtime path and reusable conformance foundation can be reviewed independently of recovering that ABI. All inputs are hand-authored synthetic fixtures; no game files, keys, decryption or online services are involved.