Ignore Wine/Proton shader caches (vkd3d-proton, DXVK) #220

Closed
github-bot wants to merge 1 commit from gh-pr/220/head into gh-pr/220/base
Owner

@⁠SkippySteve on GitHub · 2026-11-24 01:34 UTC · original
chore/gitignore-vkd3d-cache → main · +13 −0 · 2 files · 1 commits · closed without merging

Running VIctory under Wine/Proton from a checkout leaves vkd3d-proton / DXVK shader caches in the working directory. Because cargo xtask policy checks untracked-but-not-ignored files too (git ls-files --others --exclude-standard), a stray vkd3d-proton.cache makes the policy check (and the pre-commit hook) fail:

POLICY: vkd3d-proton.cache: file type not on the allowlist
POLICY: vkd3d-proton.cache: binary content (NUL bytes)

Change

  • .gitignore: ignore vkd3d-proton.cache, vkd3d-proton.cache.write, vkd3d_shader_cache/, *.dxvk-cache, next to the other derived-data entries.
  • docs/asset-policy.md: one paragraph under "Where data lives" noting these are derived data and how to redirect them (VKD3D_SHADER_CACHE_PATH, DXVK_STATE_CACHE_PATH).

Testing

  • With dummy binary vkd3d-proton.cache before the change: cargo xtask policy fails as above.
  • After the change, with dummy vkd3d-proton.cache, vkd3d-proton.cache.write, x.dxvk-cache and vkd3d_shader_cache/a present: cargo xtask policy → asset policy: 151 files ok, and git status shows none of them.

No assets or binaries added.

**@⁠SkippySteve** on GitHub · 2026-11-24 01:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/220) `chore/gitignore-vkd3d-cache` → `main` · +13 −0 · 2 files · 1 commits · closed without merging Running VIctory under Wine/Proton from a checkout leaves vkd3d-proton / DXVK shader caches in the working directory. Because `cargo xtask policy` checks untracked-but-not-ignored files too (`git ls-files --others --exclude-standard`), a stray `vkd3d-proton.cache` makes the policy check (and the pre-commit hook) fail: ``` POLICY: vkd3d-proton.cache: file type not on the allowlist POLICY: vkd3d-proton.cache: binary content (NUL bytes) ``` ## Change - `.gitignore`: ignore `vkd3d-proton.cache`, `vkd3d-proton.cache.write`, `vkd3d_shader_cache/`, `*.dxvk-cache`, next to the other derived-data entries. - `docs/asset-policy.md`: one paragraph under "Where data lives" noting these are derived data and how to redirect them (`VKD3D_SHADER_CACHE_PATH`, `DXVK_STATE_CACHE_PATH`). ## Testing - With dummy binary `vkd3d-proton.cache` before the change: `cargo xtask policy` fails as above. - After the change, with dummy `vkd3d-proton.cache`, `vkd3d-proton.cache.write`, `x.dxvk-cache` and `vkd3d_shader_cache/a` present: `cargo xtask policy` → `asset policy: 151 files ok`, and `git status` shows none of them. No assets or binaries added.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:55:22 +00:00
github-bot closed this pull request 2026-11-26 03:55:22 +00:00
Author
Owner

@⁠SkippySteve on GitHub · 2026-11-24 02:30 UTC · original

Folded into #149 (same commit cherry-picked onto docs/linux-proton). Closing as superseded.

**@⁠SkippySteve** on GitHub · 2026-11-24 02:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/220#issuecomment-7120210084) Folded into #149 (same commit cherry-picked onto docs/linux-proton). Closing as superseded.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!220
No description provided.