gpu(shader_cache): drop stale VICTORY_SCALAR_SPLITS from KEYED #3210
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!3210
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3210"
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?
@RanoGames on GitHub · 2026-11-29 20:45 UTC · original
RanoGames:fix/remove-stale-scalar-splits-key→main· +1 −2 · 1 files · 1 commits · merged 2026-11-30 14:12 UTCFixes #3189
What it changes
Removes the stale
VICTORY_SCALAR_SPLITSentry fromKEYEDincrates/victory-gpu/src/shader_cache.rs:VICTORY_SCALAR_SPLITSis listed in the translator switch list used for the shader cache key.crates/reads it any more (git grep SCALAR_SPLITSfinds only that list entry).shader_cache::tests::every_switch_of_the_translator_is_in_the_keyfail.KEYEDfrom 46 to 45 entries.How it was tested
VICTORY_SCALAR_SPLITSwas inKEYEDbut had no reader.cargo testpassed for the crates it touches: yes (cargo test --locked -p victory-gpu --lib -- shader_cache::tests;cargo xtask policy --stagedpassed)Checked for overlap
SCALAR_SPLITS/every_switch_of_the_translator_is_in_the_key(no open fix PR; only historical #73 that originally added the switch).@mstrmoos on GitHub · 2026-11-30 01:13 UTC · original
With only this change on main (
41adb551),every_switch_of_the_translator_is_in_the_keystill fails, now on the next name:The revert of #479 also took the differential fuzzer's switches with it, so the test's
NOT_TRANSLATIONlist still names four the translator no longer reads:VICTORY_ORACLE_RUNS,VICTORY_ORACLE_SEED,VICTORY_ORACLE_AVOID,VICTORY_ORACLE_OUT(and the two comment lines above them). With those four removed as well, the test passes andcargo test -p victory-gpu shader_cacheis green (11 passed).github-bot referenced this pull request2026-11-30 06:30:06 +00:00
@andrewpozdnakov7-jpg on GitHub · 2026-11-30 11:51 UTC · original
I reproduced the GitHub CI blocker from #2478 on clean
41adb551.every_switch_of_the_translator_is_in_the_keyfails onVICTORY_SCALAR_SPLITSin both current main and GitHub's099b02atest merge. Failed CI jobI rebased your
84ede19and removed the four staleVICTORY_ORACLE_*test entries from @mstrmoos's reproduction. The review branch is based on41adb551, keeps your original author onb6ffcf2, and has the test-list cleanup in8090ff6. The branch touches one file.git diff --checkpassed.flight_texture_back_ranges_refuse_stale_shadow_holderas failed and the test process later exited with0xc000001d. The focused test run gives a separate result for the cache-key gate.If you cherry-pick the follow-up, please retain its Git author. If you fold it into another commit, please use
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.AI-assisted with OpenAI Codex.
github-bot referenced this pull request2026-11-30 14:14:18 +00:00
github-bot referenced this pull request2026-11-30 14:14:20 +00:00