shader: lower nested mesh SAVEEXEC regions (Part of #3703) #3724
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3724
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3722"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@timbot103 on GitHub · 2026-12-01 10:53 UTC · original
timbot103:shader/mesh-nested-saveexec→main· +415 −131 · 3 files · 1 commits · merged 2026-12-01 11:21 UTCRefs #3705.
Summary
Lowers nested
SAVEEXECregions inside thethenarm of an enclosingSAVEEXECwithin a mesh lane skip (src/gfx1013_direct_mesh.inl, with a brief note indocs/experiments.md):SAVEEXEC: Matches inners_and_saveexec_b64blocks inside an enclosingSAVEEXECthenarm, acceptings_andn2_b64ors_xor_b64inverses ands_mov_b64ors_or_b64restores (including vector-only innerelsearms that omit theirEXECZwhen paired with a local restore).then/elsebranches, instruction-interior targets, unproven masks, extra restores, enclosingelsereads ofthen-written scalars, and standalone nestedCMPXstrictly refused.Verification
Windows 11 (26200), MSVC 19.44, Ninja, Windows SDK 10.0.26100. Source-built tests only; added nested if-only, nested paired, no-else-EXECZ, outer-if-only, mask-copy, uniform wave-SCC positive cases and 10 refusal controls in
tests/native_direct_mesh_check.py.devpreset):ctest --preset dev --no-tests=error -R '^native_direct_|^startup_mesh57_real_shape$' -V-> 3/3 passed (native_direct_container,native_direct_mesh,startup_mesh57_real_shape)releasepreset):ctest --preset release --no-tests=error -R '^native_direct_|^startup_mesh57_real_shape$' -V-> 3/3 passedgit diff --check HEAD^ HEADclean.AI-assisted.
s_bitset1_b32, then stop at a scalar loop #3705@R0Y00 on GitHub · 2026-12-01 11:20 UTC · original · approved these changes
Reviewed mask restore, branch boundaries and scalar clobber tracking. Integrated native_direct_mesh passed locally with nested SAVEEXEC and refusal controls.
s_bitset1_b32, then stop at a scalar loop #3705github-bot referenced this pull request2026-12-01 13:20:05 +00:00
github-bot referenced this pull request2026-12-01 14:54:21 +00:00
s_bitset1_b32, then stop at a scalar loop #3705