Require a working cache for offline shader translation #310

Closed
github-bot wants to merge 1 commit from github-bot/gh-310 into rx9070xt AGit
Owner

@⁠hajduzsolt on GitHub · 2026-11-26 19:41 UTC · original
fix/require-offline-shader-cache → rx9070xt · +91 −39 · 5 files · 1 commits · closed without merging

victory shaders and victory translate --warm now fail early if their shader cache cannot be opened. An offline translation counts as cached only after its entry can be read back. Hit and newly stored counts are determined per shader, so a concurrent miss can no longer change the reported result of a hit.

Closes #291.

Validation: all four Windows shader-cache unit tests passed, including the missing-cache guard, hit and store reporting, and stale-entry refresh. The staged asset-policy hook passed.

AI assistance: ChatGPT 6.2 Sol Extra High.

**@⁠hajduzsolt** on GitHub · 2026-11-26 19:41 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/310) `fix/require-offline-shader-cache` → `rx9070xt` · +91 −39 · 5 files · 1 commits · closed without merging `victory shaders` and `victory translate --warm` now fail early if their shader cache cannot be opened. An offline translation counts as cached only after its entry can be read back. Hit and newly stored counts are determined per shader, so a concurrent miss can no longer change the reported result of a hit. Closes #291. Validation: all four Windows shader-cache unit tests passed, including the missing-cache guard, hit and store reporting, and stale-entry refresh. The staged asset-policy hook passed. AI assistance: ChatGPT 6.2 Sol Extra High.
Return cache initialization failures to the offline commands. Derive the hit or stored result from the current shader so concurrent misses do not skew the warm-up counts.

Refs #291

AI-Assisted-By: ChatGPT 6.2 Sol Extra High
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:49:18 +00:00
github-bot closed this pull request 2026-11-26 20:44:48 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.