Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3814.
Change
E1 tracks the first refusal
undefined graphics register 126. The censusreported 175 remaining stages after #3834 advanced 49. It identified
s_cselect_b64 s[lo:hi], exec, 0ands_mov_b64 s[lo:hi], execoutsideloops. This branch is based directly on
origin/mainand uses the existingacyclic mask and EXEC region proofs.
An integration check against #3918 found adjacent edits in
src/gfx1013_direct_graphics.inlanddocs/experiments.mdto reconcilewhen the branches meet.
In a wave64 pixel shader, accept an EXEC copy at a proven exact-coverage
tail or outside matched read-only mask regions. Accept the EXEC-or-zero
select with a reaching scalar comparison and wave-uniform SCC. The
invocation bit can feed CNDMASK, a proven AND, or a one-armed AND_SAVEEXEC
ending in a matching
s_mov_b64 exec, savedrestore. A reachingunmodified copy of the current base EXEC also supports a same-mode
restore.
Numeric EXEC and mask-word reads, unsupported select operands, unknown
SCC, clobbered pairs, missing definitions at joins, and unproved EXEC
changes still refuse.
Verification
Commit
5aa86473ond2e6a4ed. Windows 11 Pro build10.0.26200.9974, MSVC19.44.35230, and DXC1.9.2602.17(
21d28f727). WARP reported driver10.0.26100.9818, the GeForce RTX5080 reported
32.0.16.2140(621.40), and the D3D12 debug layer wasunavailable.
The base compiler already accepted plain EXEC copies at entry and after an
SCC join. The fixture reproduced six
undefined graphics register 126refusals on the base compiler. The three SAVEEXEC cases refused during CFG
construction with
graphics branch on a wave mask. The patch compiles allnine cases and checks thirteen near-miss refusals. WARP and the RTX 5080
matched all 16 pixels in each of the nine draws in Debug and Release.
Every wrong reference produced the expected mismatch. All nine also compiled
through
compile_dxil $DXC_BIN_DIR cache gfx1013-mesh86-ps fixture.ps86 fixture.csowith a synthetic
rootsig_1_1sidecar declaring direct CBV/SRV/UAV andsampler heap indexing. The effect on the private census is unmeasured.
The full Debug build and the selected Release target build completed.
To reproduce the base diagnostics, set
$BASE_COMPILERto an executablebuilt from
d2e6a4edand$DXC_BIN_DIRto the SDK compiler directory.The baseline mode expects all nine refusals and exits successfully if
each diagnostic matches.
This touches the same graphics translator area as #3918 (L2); whichever lands second will be reconciled.
🤖 Generated with Claude Code