Ignore Wine/Proton shader caches (vkd3d-proton, DXVK) #220
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/220"
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 Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T01:34:33Z.
Running VIctory under Wine/Proton from a checkout leaves vkd3d-proton / DXVK shader caches in the working directory. Because
cargo xtask policychecks untracked-but-not-ignored files too (git ls-files --others --exclude-standard), a strayvkd3d-proton.cachemakes the policy check (and the pre-commit hook) fail:Change
.gitignore: ignorevkd3d-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
vkd3d-proton.cachebefore the change:cargo xtask policyfails as above.vkd3d-proton.cache,vkd3d-proton.cache.write,x.dxvk-cacheandvkd3d_shader_cache/apresent:cargo xtask policy→asset policy: 151 files ok, andgit statusshows none of them.No assets or binaries added.
Imported from Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T02:30:19Z.
Folded into #149 (same commit cherry-picked onto docs/linux-proton). Closing as superseded.
Pull request closed