Bench: a run without -RayTracing is recorded as "default", not "default (on)" #2628

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

@⁠iBooM72 on GitHub · 2026-11-29 15:12 UTC · original
iBooM72:fix/bench-ray-tracing-label → main · +2 −2 · 1 files · 1 commits · open

What it changes

Without -RayTracing, scripts/bench.ps1 records the run as ray tracing default (on). But victory play doesn't set VICTORY_BVH_BUILDER, and ray tracing needs it to be 1. It is off unless the F1 menu's file or -Switches turns it on, so results can be compared under the wrong setting.

The script now records the option as given: default, on or off. It doesn't say default (off), because that would be wrong when F1 or -Switches turns ray tracing on. The comment on -RayTracing now says this too. When the script can read play's log header, the switches play used are still in effective in summary.json.

Only the label and that comment change. Which switches a run uses stays the same, and saved summaries keep the old label.

How it was tested

  • GPU and profile: not applicable. The benchmark and the game were not run. Windows 11, Windows PowerShell 5.1.
  • I parsed the script (no errors) and ran only the expression that sets the label:
-RayTracing Before After
not given (default) default (on) default
on on on
off off off
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo test passed for the crates it touches: no crate touched (script only). cargo xtask policy --staged passed.
  • The three CI commands (tests with --no-fail-fast) fail here and on unmodified 829188e9. The same 5 tests fail on both, and clippy reports no new errors. #2019 and #2420 cover some of these failures.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2475 also edits scripts/bench.ps1, on a different line. None changes this label.

🤖 Generated with Claude Code

**@⁠iBooM72** on GitHub · 2026-11-29 15:12 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2628) `iBooM72:fix/bench-ray-tracing-label` → `main` · +2 −2 · 1 files · 1 commits · open ## What it changes Without `-RayTracing`, `scripts/bench.ps1` records the run as ray tracing `default (on)`. But `victory play` doesn't set `VICTORY_BVH_BUILDER`, and ray tracing needs it to be `1`. It is off unless the F1 menu's file or `-Switches` turns it on, so results can be compared under the wrong setting. The script now records the option as given: `default`, `on` or `off`. It doesn't say `default (off)`, because that would be wrong when F1 or `-Switches` turns ray tracing on. The comment on `-RayTracing` now says this too. When the script can read `play`'s log header, the switches `play` used are still in `effective` in `summary.json`. Only the label and that comment change. Which switches a run uses stays the same, and saved summaries keep the old label. ## How it was tested - GPU and profile: not applicable. **The benchmark and the game were not run.** Windows 11, Windows PowerShell 5.1. - I parsed the script (no errors) and ran only the expression that sets the label: | `-RayTracing` | Before | After | |---|---|---| | not given (`default`) | `default (on)` | `default` | | `on` | `on` | `on` | | `off` | `off` | `off` | - For shader changes, the wave sizes tested: not a shader change. - `cargo test` passed for the crates it touches: no crate touched (script only). `cargo xtask policy --staged` passed. - The three CI commands (tests with `--no-fail-fast`) fail here and on unmodified `829188e9`. The same 5 tests fail on both, and clippy reports no new errors. #2019 and #2420 cover some of these failures. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2475 also edits `scripts/bench.ps1`, on a different line. None changes this label. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`victory play` does not set VICTORY_BVH_BUILDER, and ray tracing needs it
to be 1, so a run without -RayTracing has it off unless the F1 menu's
file or -Switches turns it on. The summary recorded such runs as
"default (on)". Record the option as given instead, and say in its
comment what the default is. What `play` used stays in `effective`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 15:14:06 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2628'
git switch 'github-bot/gh-2628'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2628'
git switch 'github-bot/gh-2628'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2628'
git switch 'main'
git merge --squash 'github-bot/gh-2628'
git switch 'main'
git merge --ff-only 'github-bot/gh-2628'
git switch 'main'
git merge 'github-bot/gh-2628'
git push origin 'main'
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!2628
No description provided.