GPU: preserve successful shader translations on cache I/O failure #447
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!447
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-447"
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?
@VlREX on GitHub · 2026-11-25 00:54 UTC · original
VlREX:virex/shader-cache-resilience→main· +94 −19 · 2 files · 1 commits · openProblem
cached()currently propagatesCache::get_or_converterrors even when translation succeeded and only publishing the optional cache entry failed. This can discard usable shaders.Change
Retain the conversion result for the current request. Return successful in-memory translations even when writing or renaming the cache entry fails; do not retry a genuine translation failure. Cache hits and damaged-entry recovery remain unchanged. No cache key, format or shader semantics change.
Validation
Added two focused Rust regression tests for a blocked cache publication and a translator failure, each asserting one translation call. Native Rust/Windows and game tests have not been run. No measured performance or rendering claim. Based on
a803c87c. AI-assisted (ChatGPT).@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 00:54 UTC · original · edited 2026-11-25 00:56 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
fe4e274ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.