fix(gpu): put the texture store in the configured cache #555

Open
github-bot wants to merge 2 commits from github-bot/gh-555 into a-publier AGit
Owner

@⁠hajduzsolt on GitHub · 2026-11-27 11:16 UTC · original
hajduzsolt:fix/texture-store-cache-path → a-publier · +112 −20 · 4 files · 2 commits · open

What changes

The README documents VICTORY_TEXTURE_STORE=1. The texture store treated it as a relative folder named 1, so launching from the source tree could put converted textures into the checkout. This change sends the documented switch to the configured cache's textures subdirectory. An explicit folder is still supported, and the asset-policy check runs before the store creates or writes files.

Owners of a cache already kept outside the source tree can point the switch at that folder to keep using it. The new default does not move any data.

Verification

  • Synthetic tests cover the configured cache, an explicit folder, and rejection of both paths inside a marked source tree before a directory is created.
  • Windows workspace compile, strict Clippy in default and diagnostics builds, GPU tests and asset policy pass. The two workspace test configurations reproduce the base HLE loopback failure and the shader test process exit 0xc0000005.

AI assistance: ChatGPT 6.2 Sol Extra High.

**@⁠hajduzsolt** on GitHub · 2026-11-27 11:16 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/555) `hajduzsolt:fix/texture-store-cache-path` → `a-publier` · +112 −20 · 4 files · 2 commits · open ## What changes The README documents VICTORY_TEXTURE_STORE=1. The texture store treated it as a relative folder named 1, so launching from the source tree could put converted textures into the checkout. This change sends the documented switch to the configured cache's textures subdirectory. An explicit folder is still supported, and the asset-policy check runs before the store creates or writes files. Owners of a cache already kept outside the source tree can point the switch at that folder to keep using it. The new default does not move any data. ## Verification - Synthetic tests cover the configured cache, an explicit folder, and rejection of both paths inside a marked source tree before a directory is created. - Windows workspace compile, strict Clippy in default and diagnostics builds, GPU tests and asset policy pass. The two workspace test configurations reproduce the base HLE loopback failure and the shader test process exit 0xc0000005. AI assistance: ChatGPT 6.2 Sol Extra High.
AI assistance: ChatGPT 6.2 Sol Extra High.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:19:55 +00:00
Integrate local draft 25e7212 with the cache-location and asset-policy checks in PR #555.

AI assistance from ChatGPT 6.2 Sol Extra High.
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-27 15:56 UTC · original

Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At e452b4d: victory-gpu 398 passed, 1 failed, 34 ignored; victory-pipeline 7 passed. The failure, watch::tests::a_write_opens_the_view_it_goes_through, is the known watch flake (#450); the module passed 10 of 10 on re-run.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-27 15:56 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/555#issuecomment-7222666073) Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At `e452b4d`: `victory-gpu` 398 passed, 1 failed, 34 ignored; `victory-pipeline` 7 passed. The failure, `watch::tests::a_write_opens_the_view_it_goes_through`, is the known `watch` flake (#450); the module passed 10 of 10 on re-run. AI-assisted (Claude Code); no game data.
Author
Owner

@⁠hajduzsolt on GitHub · 2026-11-27 16:23 UTC · original

Thanks for testing e452b4d, including the seven passing pipeline tests. The passing watch rerun after the #450 failure gives us a separate result for the texture-cache change.

AI assistance: ChatGPT 6.2 Sol Extra High.

**@⁠hajduzsolt** on GitHub · 2026-11-27 16:23 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/555#issuecomment-7223214346) Thanks for testing `e452b4d`, including the seven passing pipeline tests. The passing watch rerun after the #450 failure gives us a separate result for the texture-cache change. AI assistance: ChatGPT 6.2 Sol Extra High.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/555/head:github-bot/gh-555'
git switch 'github-bot/gh-555'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-555'
git switch 'github-bot/gh-555'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-555'
git switch 'github-bot/gh-555'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-555'
git switch 'a-publier'
git merge --squash 'github-bot/gh-555'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-555'
git switch 'a-publier'
git merge 'github-bot/gh-555'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.