Translate voxelization geometry shaders and recover Wave32 masks #3852

Closed
github-bot wants to merge 12 commits from github-bot/gh-3852 into main AGit
Owner

@⁠Maddoux on GitHub · 2026-11-30 09:22 UTC · original
Maddoux:fix/voxel-geometry-and-wave32-masks → main · +1272 −745 · 39 files · 12 commits · closed without merging

Summary

  • Translate the single-stream triangle voxelization geometry profile. Check that the embedded copy stage exports each live channel from the expected LDS slot before lowering the geometry shader's input loads, output writes, emits and cuts to DXIL.
  • Bind translated geometry shaders in the host graphics pipeline with geometry-stage root visibility and a cache key that includes the GS bytecode.
  • Retry a Wave32 compute shader when it needs the numeric bits of a saved lane mask. Take the necessary branches wave-wide so the ballot can see lanes outside the guest EXEC mask.

This overlaps #2801 and #2220. The geometry path here requires an identity copy-stage layout, and the compute retry preserves the whole wave at the mask definition. This draft is an independently tested alternative for comparison.

Verification

  • The RTX 5080 release preloader reported 25,985 shaders in the cache, 0 do not translate. The previous build reported 25,789 cached and 196 failures.
  • Offline DXIL validation passed for all 195 previously rejected geometry shaders and the adaptive shadow-ray compute shader. The emitted VS, GS and PS signatures matched for both geometry layouts.
  • The focused geometry and Wave32 regression tests and the staged asset-policy check passed.
  • In-game rendering and geometry PSO creation remain unverified. The available WARP adapter supported Shader Model 6.2 and the translated DXIL targets 6.6.
**@⁠Maddoux** on GitHub · 2026-11-30 09:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3852) `Maddoux:fix/voxel-geometry-and-wave32-masks` → `main` · +1272 −745 · 39 files · 12 commits · closed without merging ## Summary - Translate the single-stream triangle voxelization geometry profile. Check that the embedded copy stage exports each live channel from the expected LDS slot before lowering the geometry shader's input loads, output writes, emits and cuts to DXIL. - Bind translated geometry shaders in the host graphics pipeline with geometry-stage root visibility and a cache key that includes the GS bytecode. - Retry a Wave32 compute shader when it needs the numeric bits of a saved lane mask. Take the necessary branches wave-wide so the ballot can see lanes outside the guest EXEC mask. This overlaps #2801 and #2220. The geometry path here requires an identity copy-stage layout, and the compute retry preserves the whole wave at the mask definition. This draft is an independently tested alternative for comparison. ## Verification - The RTX 5080 release preloader reported **25,985 shaders in the cache, 0 do not translate**. The previous build reported 25,789 cached and 196 failures. - Offline DXIL validation passed for all 195 previously rejected geometry shaders and the adaptive shadow-ray compute shader. The emitted VS, GS and PS signatures matched for both geometry layouts. - The focused geometry and Wave32 regression tests and the staged asset-policy check passed. - In-game rendering and geometry PSO creation remain unverified. The available WARP adapter supported Shader Model 6.2 and the translated DXIL targets 6.6.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 09:23:58 +00:00
github-bot closed this pull request 2026-12-01 18:51:08 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:48 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:48 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3852#issuecomment-7321572726) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3852
No description provided.