shader_cache test: VICTORY_SCALAR_SPLITS is in the translator switch list but no longer read #3189
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#3189
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@AimLogin on GitHub · 2026-11-29 20:34 UTC · original
victory-gpu's testshader_cache::tests::every_switch_of_the_translator_is_in_the_keyfails onf889bb07.What we see:
VICTORY_SCALAR_SPLITSis listed in the translator switch list incrates/victory-gpu/src/shader_cache.rs(line 52 oncec481f4).crates/reads it any more.git grep SCALAR_SPLITSfinds only that list entry.Measured: the test was run on
f889bb07and fails.Read in the code, not run:
cec481f4is in the same state.Effect: none on translation; the stale entry only adds a constant to the cache key. Either removing the entry from the list or restoring the switch's reader would make the test pass. Which one is right depends on whether the scalar-splits form was removed on purpose.
Found while running the shader tests for an unrelated change; AI-assisted.
@github-actions[bot] on GitHub · 2026-11-29 20:34 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@AimLogin on GitHub · 2026-11-29 20:40 UTC · original
This one isn't a crash, so there are no play or crash logs for it. It is a unit-test failure in the source tree:
f889bb07.cec481f4still listsVICTORY_SCALAR_SPLITSincrates/victory-gpu/src/shader_cache.rsline 52, and nothing incrates/reads it.No GPU or game files are needed to reproduce it.
@AimLogin on GitHub · 2026-11-29 20:44 UTC · original
My duplicate search missed this one, sorry: #3061 ("the shader key's stale names") already fixes this, and #3148 touches the same list. Closing this issue in favour of #3061.
AI-assisted.