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

Open
Testaross wants to merge 1 commit from upstream-pr/573 into main
Testaross commented 2026-11-25 02:20:45 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Testaross on 2026-11-25T02:20:45Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6595681366 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/573). Originally posted by [Testaross](https://github.com/Testaross) on 2026-11-25T02:20:45Z. --- ## 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.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/573:upstream-pr/573'
git switch 'upstream-pr/573'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/573'
git switch 'upstream-pr/573'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/573'
git switch 'upstream-pr/573'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/573'
git switch 'main'
git merge --squash 'upstream-pr/573'
git switch 'main'
git merge --ff-only 'upstream-pr/573'
git switch 'main'
git merge 'upstream-pr/573'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
fxceless/victory-fork!573
No description provided.