Preserve explicitly unset shader settings in the PowerShell launcher #4848
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4848
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4847"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 mergingWhat it changes
Set the three shader-cache defaults in the launcher's defaults table. The saved F1 settings and
-Morethen apply their existing unset behavior to those settings, too.Currently an empty assignment removes the setting during the override, then the launcher inserts
1again when it exports the environment. This affectsVICTORY_BVH_MISS,VICTORY_NAN_SCRUB, andVICTORY_SAMPLED_MARKS. It can also make the PowerShell launcher use a different shader cache key from nativevictory playwith the same saved settings.How it was tested
warm --used. The saved settings unsetVICTORY_BVH_MISS, and-MoreunsetVICTORY_NAN_SCRUBand setVICTORY_SAMPLED_MARKS=0.5fabb46eand releasev2026.11.30.03exported1, 1, 0.b763170a8ddac21fadbb8a7fe6722ef7f72caafaexported unset, unset, and0. With no overrides, all three remained1.cargo xtask policy --stagedpassed for the launcher file. The exercise covered option selection.Checked for overlap
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: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.Pull request closed