Keep explicitly empty shader settings separate from unset defaults in cache #1901
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!1901
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1901"
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?
@NotADonky43 on GitHub · 2026-11-29 02:01 UTC · original
NotADonky43:fix/shader-setting-presence→main· +34 −5 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCFixes #1896. The translator's environment fingerprint now includes a presence byte. Unset and explicitly empty settings must not alias: on
d1486134unsetVICTORY_WAVE_WIDE_FALLBACK_SKIPapplies 13 built-in exclusions, while an empty value opts out. No translation rule or shader changed. The altered fingerprint invalidates older entries once; no destructive purge needed.Reproduced and verified on native Windows / RTX 5070 Ti: separate processes, one initially empty private cache per input. For each of the 13 default-excluded programs, run offline precompile with (1) unset, (2) explicitly empty, then (3) unset using the same cache. Stock
d1486134: refused / cached / cached for all 13. Same-base patched release: refused / cached / refused for all 13. This is a cache correctness result, not a rendering benchmark or proof that any particular prior gameplay artifact had this cause.5 focused shader cache tests passed incl new title-free regression using a synthetic translation, repeated absent/empty/nonempty values, and actual cache hits. Clean source merge onto
d1486134verified. Checked #1138 and existing cache-key PRs; this addresses encoding of present-empty, not omitted setting names. No title content or raw logs included.[pr-fix][shaders] Keep explicitly empty shader settings separate from unset defaults in cacheto Keep explicitly empty shader settings separate from unset defaults in cache