Improve Wave64 translation safety, DXIL validation and native DXR diagnostics #573

Open
github-bot wants to merge 1 commit from github-bot/gh-573 into main AGit
Owner

@⁠Testaross on GitHub · 2026-11-25 02:20 UTC · original
Testaross:victory-rtx-shader-dxr-pr → main · +277 −13 · 8 files · 1 commits · draft

Changes

  • Strengthen Wave64 first-lane execution-mask analysis to prevent unsafe assumptions during atomic reservations.
  • Add optional runtime DXIL validation for translated and cached shaders before pipeline creation.
  • Improve DXIL validator error handling.
  • Add vendor-neutral DirectX Raytracing capability detection.
  • Add an optional synthetic BLAS/TLAS prebuild-size probe.
  • Add regression tests and documentation.

Compatibility

Uses standard Direct3D 12 APIs without NVIDIA-specific dependencies. Intended to retain compatibility with NVIDIA, AMD and Intel GPUs where the required features are supported.

Testing

These changes passed Windows workspace tests and release/diagnostic compilation on the development branch.

This isolated patch has been rebased onto upstream commit c96b4f2 and requires fresh CI validation.

Limitations

The DXR implementation currently provides capability detection and prebuild-size queries, not native game ray tracing. No gameplay, lighting restoration or FPS improvements are claimed.

The existing compute-based rendering path remains intact.

Shader-cache key improvements are intentionally excluded because PR #544 already addresses them.

AI-assisted development. No game files or proprietary assets are included.

**@⁠Testaross** on GitHub · 2026-11-25 02:20 UTC · [original](https://github.com/fxceless/victory-fork/pull/573) `Testaross:victory-rtx-shader-dxr-pr` → `main` · +277 −13 · 8 files · 1 commits · draft ## Changes - Strengthen Wave64 first-lane execution-mask analysis to prevent unsafe assumptions during atomic reservations. - Add optional runtime DXIL validation for translated and cached shaders before pipeline creation. - Improve DXIL validator error handling. - Add vendor-neutral DirectX Raytracing capability detection. - Add an optional synthetic BLAS/TLAS prebuild-size probe. - Add regression tests and documentation. ## Compatibility Uses standard Direct3D 12 APIs without NVIDIA-specific dependencies. Intended to retain compatibility with NVIDIA, AMD and Intel GPUs where the required features are supported. ## Testing These changes passed Windows workspace tests and release/diagnostic compilation on the development branch. This isolated patch has been rebased onto upstream commit `c96b4f2` and requires fresh CI validation. ## Limitations The DXR implementation currently provides capability detection and prebuild-size queries, not native game ray tracing. No gameplay, lighting restoration or FPS improvements are claimed. The existing compute-based rendering path remains intact. Shader-cache key improvements are intentionally excluded because PR #544 already addresses them. AI-assisted development. No game files or proprietary assets are included.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:46:39 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/shader_cache.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/573/head:github-bot/gh-573'
git switch 'github-bot/gh-573'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-573'
git switch 'github-bot/gh-573'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-573'
git switch 'github-bot/gh-573'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-573'
git switch 'main'
git merge --squash 'github-bot/gh-573'
git switch 'main'
git merge --ff-only 'github-bot/gh-573'
git switch 'main'
git merge 'github-bot/gh-573'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.