[pr-fix][RAYTRACING] Bench: record "default", not "default (on)", without -RayTracing #74

Manually merged
TrustNo1 merged 1 commit from iboom72/bench-default-ray-tracing into main 2026-12-03 20:19:21 +00:00 AGit
Contributor

What it changes

darner play sets neither DARNER_BVH_BUILDER nor DARNER_HW_RT by itself. Ray tracing comes only from F1's RAY TRACING row (DARNER_MENU_RT) or a --set. So a scripts\bench.ps1 run without -RayTracing has ray tracing off unless the F1 menu's file or -Switches turns it on. The summary still recorded such runs as default (on).

This records the option as given (default) and says in the parameter's comment what the default is. What play actually used stays in the summary's effective field, and the existing notes still flag a mismatch when -RayTracing on or off was asked for.

How it was tested

  • Tested revision: 761a0eda
  • Commands and results:
    • The script parses with the PowerShell parser ([Parser]::ParseFile): 0 errors.
    • I read apps/darner/src/play.rs to confirm that nothing turns ray tracing on by default.
  • Gameplay: no bench was run.
  • Coverage gaps: the summary text was not checked on a real run. Only the label string changes: ray_tracing = $RayTracing.

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs: none found
## What it changes `darner play` sets neither `DARNER_BVH_BUILDER` nor `DARNER_HW_RT` by itself. Ray tracing comes only from F1's RAY TRACING row (`DARNER_MENU_RT`) or a `--set`. So a `scripts\bench.ps1` run without `-RayTracing` has ray tracing off unless the F1 menu's file or `-Switches` turns it on. The summary still recorded such runs as `default (on)`. This records the option as given (`default`) and says in the parameter's comment what the default is. What `play` actually used stays in the summary's `effective` field, and the existing notes still flag a mismatch when `-RayTracing on` or `off` was asked for. ## How it was tested - Tested revision: 761a0eda - Commands and results: - The script parses with the PowerShell parser (`[Parser]::ParseFile`): 0 errors. - I read `apps/darner/src/play.rs` to confirm that nothing turns ray tracing on by default. - Gameplay: no bench was run. - Coverage gaps: the summary text was not checked on a real run. Only the label string changes: `ray_tracing = $RayTracing`. ## Checklist - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: none found
`darner play` sets neither DARNER_BVH_BUILDER nor DARNER_HW_RT, so a run
without -RayTracing has ray tracing 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`.

Port of 82b9c2e6 (2026-11-29) onto the new main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
TrustNo1 manually merged commit 779433f2df into main 2026-12-03 20:19:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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
TrustNo1/Darner!74
No description provided.