Preserve explicitly unset shader settings in the PowerShell launcher #4848

Closed
github-bot wants to merge 1 commit from github-bot/gh-4847 into main AGit
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 11:22 UTC · original
andrewpozdnakov7-jpg:codex2/fix/launcher-unset-shader-defaults → main · +2 −3 · 1 files · 1 commits · closed without merging

What it changes

Set the three shader-cache defaults in the launcher's defaults table. The saved F1 settings and -More then apply their existing unset behavior to those settings, too.

Currently an empty assignment removes the setting during the override, then the launcher inserts 1 again when it exports the environment. This affects VICTORY_BVH_MISS, VICTORY_NAN_SCRUB, and VICTORY_SAMPLED_MARKS. It can also make the PowerShell launcher use a different shader cache key from native victory play with the same saved settings.

How it was tested

  • Ran the real launcher in Windows PowerShell 5.1 against a synthetic executable accepting warm --used. The saved settings unset VICTORY_BVH_MISS, and -More unset VICTORY_NAN_SCRUB and set VICTORY_SAMPLED_MARKS=0.
  • Main 5fabb46e and release v2026.11.30.03 exported 1, 1, 0. b763170a8ddac21fadbb8a7fe6722ef7f72caafa exported unset, unset, and 0. With no overrides, all three remained 1.
  • cargo xtask policy --staged passed for the launcher file. The exercise covered option selection.
  • Main's CI check has five existing Clippy errors tracked in #4708.

Checked for overlap

  • Searched issues and PRs for the three settings and unset behavior. #4067 is the original cache-key issue. #1971 concerns the native standalone commands applying play settings; #4826 concerns preload jobs. Both are related to matching play with preload.

Please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding the change into another commit.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 11:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4847) `andrewpozdnakov7-jpg:codex2/fix/launcher-unset-shader-defaults` → `main` · +2 −3 · 1 files · 1 commits · closed without merging ## What it changes Set the three shader-cache defaults in the launcher's defaults table. The saved F1 settings and `-More` then apply their existing unset behavior to those settings, too. Currently an empty assignment removes the setting during the override, then the launcher inserts `1` again when it exports the environment. This affects `VICTORY_BVH_MISS`, `VICTORY_NAN_SCRUB`, and `VICTORY_SAMPLED_MARKS`. It can also make the PowerShell launcher use a different shader cache key from native `victory play` with the same saved settings. ## How it was tested - Ran the real launcher in Windows PowerShell 5.1 against a synthetic executable accepting `warm --used`. The saved settings unset `VICTORY_BVH_MISS`, and `-More` unset `VICTORY_NAN_SCRUB` and set `VICTORY_SAMPLED_MARKS=0`. - Main `5fabb46e` and release `v2026.11.30.03` exported `1, 1, 0`. `b763170a8ddac21fadbb8a7fe6722ef7f72caafa` exported unset, unset, and `0`. With no overrides, all three remained `1`. - `cargo xtask policy --staged` passed for the launcher file. The exercise covered option selection. - Main's [CI check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46563306780/job/142355972539) has five existing Clippy errors tracked in #4708. ## Checked for overlap - [x] Searched issues and PRs for the three settings and unset behavior. #4067 is the original cache-key issue. #1971 concerns the native standalone commands applying play settings; #4826 concerns preload jobs. Both are related to matching play with preload. Please retain the Git author on cherry-pick or rebase, or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folding the change into another commit. AI-assisted with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 11:26:37 +00:00
github-bot closed this pull request 2026-12-01 11:48:10 +00:00
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 11:47 UTC · original

Closing this as a duplicate of #2868. I ran the same PowerShell 5.1 fixture against its current a7bbce0e: the empty saved VICTORY_BVH_MISS and empty -More VICTORY_NAN_SCRUB both stay unset, and VICTORY_SAMPLED_MARKS=0 stays 0.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 11:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4847#issuecomment-7310141733) Closing this as a duplicate of #2868. I ran the same PowerShell 5.1 fixture against its current a7bbce0e: the empty saved VICTORY_BVH_MISS and empty -More VICTORY_NAN_SCRUB both stay unset, and VICTORY_SAMPLED_MARKS=0 stays 0.

Pull request closed

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!4848
No description provided.