GPU: preserve successful shader translations on cache I/O failure #447
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by VlREX on 2026-11-25T00:54:27Z.
Problem
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).Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T00:54:39Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.