Skip to content

Certify Wave32 LDS synchronization for visibility dispatch - #368

Open
Kamiloj9 wants to merge 1 commit into
fxceless:mainfrom
Kamiloj9:codex/visibility-wave32
Open

Kamiloj9 wants to merge 1 commit into
fxceless:mainfrom
Kamiloj9:codex/visibility-wave32

Conversation

@Kamiloj9

Copy link
Copy Markdown

Change

  • Add an opt-in Wave32 translation for the audited CS_Visibility native program. After DXIL optimization, certify that both host waves reach the same LDS synchronization points and that the branch reads a fenced snapshot.
  • Carry the contract through the shader cache. Execution requires direct dispatch with one group in X and a private copy of the shader's constant buffer. Unsupported dispatches and failed proofs use the existing refusal or Wave64 behavior.
  • Recognize the unsigned heap-index clamp when its index is uniform across the group. Enable the candidate with VICTORY_SPLIT_LDS=1.

Verification

  • The exact captured shader emits validated Wave32 DXIL with an uncapped heap and with the RTX null descriptor at slot 999,999. Disabled and fence-only configurations retain Wave64.
  • REA recorded 42 direct calls with groups 1×1×1. Each recorded constant-buffer range was separate from the seven observed UAV ranges.
  • The integrated diagnostic build created the compute PSO, recorded the constrained dispatch and reported the shader in completed GPU work on RTX 4080 SUPER. It reached the first 3D scene and continued presenting until Windows reported a memory allocation failure.
  • The fork build, targeted dispatch and cache tests, captured shader replay, Clippy, and asset policy passed on the proposed base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant