Keep explicitly empty shader settings separate from unset defaults in cache #1901

Manually merged
github merged 1 commit from github-bot/gh-1901 into gh-pr/1901/base 2026-11-29 08:21:30 +00:00 AGit
Owner

@⁠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 UTC

Fixes #1896. The translator's environment fingerprint now includes a presence byte. Unset and explicitly empty settings must not alias: on d1486134 unset VICTORY_WAVE_WIDE_FALLBACK_SKIP applies 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 d1486134 verified. Checked #1138 and existing cache-key PRs; this addresses encoding of present-empty, not omitted setting names. No title content or raw logs included.

**@⁠NotADonky43** on GitHub · 2026-11-29 02:01 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1901) `NotADonky43:fix/shader-setting-presence` → `main` · +34 −5 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC Fixes #1896. The translator's environment fingerprint now includes a presence byte. Unset and explicitly empty settings must not alias: on d1486134 unset `VICTORY_WAVE_WIDE_FALLBACK_SKIP` applies 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 d1486134 verified. Checked #1138 and existing cache-key PRs; this addresses encoding of present-empty, not omitted setting names. No title content or raw logs included.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 02:06:34 +00:00
github-bot changed title from [pr-fix][shaders] Keep explicitly empty shader settings separate from unset defaults in cache to Keep explicitly empty shader settings separate from unset defaults in cache 2026-11-29 02:28:38 +00:00
github-bot changed target branch from main to gh-pr/1901/base 2026-11-29 08:21:29 +00:00
github manually merged commit 543482c9f0 into gh-pr/1901/base 2026-11-29 08:21:30 +00:00
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!1901
No description provided.