Repository navigation
Conversation
Running the suite under Wine with vkd3d-proton (the Linux setup of xcl-dev#175) leaves vkd3d-proton.cache and vkd3d-proton.cache.write in crates/xcl, the test working directory. They show up as untracked files after every run and a `git add -A` would commit them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mdberkey
left a comment
There was a problem hiding this comment.
Verified
- Windows 11 Pro 26200, Ryzen 5 5600X, 32 GB, RTX 3070.
.gitignoreis the only changed file (+4 lines).git check-ignore -vresolves bothvkd3d-proton.cacheandvkd3d-proton.cache.writeat the repo root and incrates/xcl(.gitignore:48,:49).- With both files created in both locations,
git status --porcelainis empty andgit add -A --dry-runstages nothing. - No tracked file matches
vkd3d;git diff --checkis clean. cargo build --locked --workspace --jobs 3: passed (only the pre-existingfetch_updatedeprecation warning).cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output: 692 passed, 0 failed, 41 ignored; identical on63cdc25. Skipped: 2 no wave64, 1 nod3d12SDKLayers.dll, 1 no D3D12 debug layer.
Review
LGTM. The patterns are unanchored, so they hide these exact filenames in every directory — which is right here, since the tests' working directory is crates/xcl and an anchored rule would miss a run from elsewhere. If you ever want to narrow it, crates/xcl/vkd3d-proton.cache* would do, at the cost of other working directories.
AI use: OpenCode (DeepSeek V4.1 Flash Free) ran the checks and drafted this; I checked it.
|
Full-suite run on this PR's head Tested
Not tested: AMD / wave64; no retail title (this PR changes only AI-assisted (Claude Code). |
crastinator
left a comment
There was a problem hiding this comment.
Tested on RDNA2 under Proton: the two files really are ignored now.
Tested (head 422f56d, merged onto main 930e8b4: no conflicts)
- AMD Radeon RX 6700 XT (RDNA2, gfx1031, RADV NAVI22, Mesa 26.3.1), Ryzen 7 5700X, Linux 7.3.5 (CachyOS)
- Proton Experimental 11.0-20261112's Wine, vkd3d-proton v3.1 + #257's patch (
-Db_ndebug=true, dxil-spirv53aac418from #775), DXVK v3.1.1-209dxgi, DXC 1.9.2609.5, libopus 1.5.2,XCL_REQUIRE_GPU=wave64,mesh(0 SKIPPED) - cross-built for
x86_64-pc-windows-msvc(clang-cl / lld-link, xwin SDK 10.0.26100), Rust 1.99.1, debug cargo test -p xcl --lib -- --test-threads=1plus every integration test (--test '*' -- --test-threads=1), compared per test with the same runs onmain930e8b4.mainhere: 8 stable Wine-lane failures (#530 ×2, #676, #890 ×2, e2e,pls_quota#810,predication_e2e#1272). Separately,title_textures::{placed_title_textures_share_vram_and_preserve_pixels, transitions_apply_when_their_list_is_submitted}andvram::d32s8_targets…fail together in 2 of 5mainruns (the #718 family), so I do not count a pass of those as a fix either way.- After a test run,
mainshows?? crates/xcl/vkd3d-proton.cacheand?? crates/xcl/vkd3d-proton.cache.write. With the PR,git check-ignore -vnames.gitignore:48and:49for them andgit statusno longer lists them. - The suite: 740 passed, 11 failed, 41 ignored, the same as
mainin the same run (the 8 stable failures plus the 3 #718 flakes).
Not tested
- Anything that needs game files: no
XCL_SAMPLE_*was set, so the tests that read them (about 66) pass without running. - Windows (nothing changes there).
AI use
- Claude Code (Claude Opus 5.5) merged, built and ran this and wrote the report; I checked the results.
Running the test suite under Wine with vkd3d-proton (the Linux setup in #175) leaves
vkd3d-proton.cacheandvkd3d-proton.cache.writeincrates/xcl, the test working directory. They appear as untracked files after every run, and agit add -Awould commit them (a binary that the PR checks would then refuse). This ignores both. Part of #175.What is in it
.gitignore:vkd3d-proton.cacheandvkd3d-proton.cache.write, with a comment saying where they come from.Tested
x86_64-pc-windows-gnu, debug. No Windows build.cargo test -p xcl --lib --locked --target x86_64-pc-windows-gnu -- --test-threads=4(run under Wine) on this branch: 649 passed, 3 failed, 21 ignored, 0SKIPPED. The three failures are onmaintoo and unrelated:gpu_f64_rootsandgpu_f64_math_random(fixed by Recompiler: v_rcp_f64 and v_rsq_f64 keep NaN, infinities and denormals #530) andgpu_nonfused_mad_and_mac_prevent_fma_contraction(Recompiler: v_fma_f32 is not fused on AMD's RDNA1 driver (mad() left unfused) #472).crates/xcl/vkd3d-proton.cache.writeexists andgit statuslists only.gitignore.Regression run
.gitignoreonly), so nosmoke.ps1run.Not tested
cargo test --workspacewith the MSVC build): there is nothing on Windows for this to change, but no Windows run was made.AI use