VICTORY_RT_MISS=1: every ray misses and ray-only skinning is left out (off by default) #619

Closed
KhryptorGraphics wants to merge 2 commits from upstream-pr/619 into main
KhryptorGraphics commented 2026-11-28 01:55:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by KhryptorGraphics on 2026-11-28T01:55:21Z.


What

Ports VICTORY_RT_MISS=1 from edsuuu's VI-BR-PORT (GPL-3.0). Off by default.

  • With the switch on, the ray-tracing node test answers "nothing hit", so every traversal ends at its root.
  • With the switch on and the structure builder off, the title's ray-only skinning programs (CSComputeSkinning*, about 30) are left out through pipeline/make.rs left_out. VICTORY_RT_SKIN=1 runs them.
  • The switch is added to the shader cache key.

This changes the shader translator's source, so every cached translation is made again once (victory shaders, then warm).

Source commits: 8b349ee, ab4571d, 1556de8, and the name test of f1e5e45. The source reports 4.3-5.6 to 6.6-9.7 fps in the world on Series S with the builder off.

Verification

  • Cross-checked for Windows on a Linux machine: cargo check -p victory-gpu --target x86_64-pc-windows-msvc --tests passes with no new warnings.
  • Not run in the game. No frame-rate or stability measurement was taken on this fork; figures quoted are the source fork's own.
  • Clippy and the test suite have not run locally; CI on this pull request is their first run.
  • Reviewed independently against the source commits before pushing.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5535570156 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/619). Originally posted by [KhryptorGraphics](https://github.com/KhryptorGraphics) on 2026-11-28T01:55:21Z. --- ## What Ports `VICTORY_RT_MISS=1` from edsuuu's VI-BR-PORT (GPL-3.0). **Off by default.** - With the switch on, the ray-tracing node test answers "nothing hit", so every traversal ends at its root. - With the switch on and the structure builder off, the title's ray-only skinning programs (`CSComputeSkinning*`, about 30) are left out through `pipeline/make.rs` `left_out`. `VICTORY_RT_SKIN=1` runs them. - The switch is added to the shader cache key. **This changes the shader translator's source, so every cached translation is made again once** (`victory shaders`, then `warm`). Source commits: 8b349ee, ab4571d, 1556de8, and the name test of f1e5e45. The source reports 4.3-5.6 to 6.6-9.7 fps in the world on Series S with the builder off. ## Verification - Cross-checked for Windows on a Linux machine: `cargo check -p victory-gpu --target x86_64-pc-windows-msvc --tests` passes with no new warnings. - **Not run in the game.** No frame-rate or stability measurement was taken on this fork; figures quoted are the source fork's own. - Clippy and the test suite have not run locally; CI on this pull request is their first run. - Reviewed independently against the source commits before pushing.
trustno1-coder commented 2026-11-28 19:22:54 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T19:22:54Z.


Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244501238 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/619#issuecomment-7244501238). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T19:22:54Z. --- Thanks for this. I'm closing it without merging because it conflicts with the current main in several places (main has moved a lot since it was opened, with about 100 pull requests merged today), and I can't resolve that safely on your behalf. If you'd still like it in, please rebase it on the current main and open a new pull request.

Pull request closed

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
trustno1-coder/VIctory-NVIDIA!619
No description provided.