Repository navigation
Conversation
gpu_depth_buffer_created_for_unordered_access_is_placed (xcl-dev#1353) first checks that a depth buffer without the UAV flag can't be placed in UNORDERED_ACCESS. Microsoft's D3D12 runtime refuses that state; vkd3d-proton under Wine does not validate it and creates the resource, so the test failed on every Linux run although the state XCL asks for (DEPTH_WRITE, from pc_initial_state) is accepted there too. The refusal is now asserted only when not under Wine; the rest of the test is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Test report for head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
The red PR description check is the smoke-block requirement: Since opening, it has three independent test reports above: RTX 5070 Ti (Wine), RX 9070 XT on CachyOS (Wine), and RTX 3060 Ti on Windows 11 (where the assert still runs). |
|
Regression run of Against the limits in CONTRIBUTING.md: 101 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
gpu_depth_buffer_created_for_unordered_access_is_placed(added in #1353) fails on every Linux run under Wine and vkd3d-proton. Its first check expects D3D12 to refuse placing a depth buffer without the UAV flag inUNORDERED_ACCESS. Microsoft's runtime refuses it; vkd3d-proton doesn't validate that and creates the resource. The rest of the test, which places the resource in the state XCL actually asks for (pc_initial_state→DEPTH_WRITE), passes there. So the refusal is now asserted only when not under Wine (util::under_wine(), as used elsewhere). On Windows the test is unchanged.The same failure on NVIDIA under vkd3d-proton is listed in #1468's description (RTX 4060 Ti, vkd3d-proton v3.1-90), so it is not AMD-specific.
What is in it
crates/xcl/src/hle/d3d12x/device_x.rs(test only): theplace(0x8 & PC_RESOURCE_STATES).is_err()assert runs underif !crate::util::under_wine(), with a comment saying why.Tested
7c048638(see Linux: dxil-spirv asserts on the DXIL of jumps_to_outer_loop_heads_are_structured (b8b1f49), the suite crashes under vkd3d-proton #1425); DXC 2026_09_29. Rust 1.100.0, cross-built forx86_64-pc-windows-gnu, debug. No Windows build.mainb7aa9f3(UNORDERED_ACCESS without the UAV flag), passes with this change.cargo test -p xcl --lib --locked --target x86_64-pc-windows-gnu -- --test-threads=4onb7aa9f3+ this change: 719 passed, 3 failed, 21 ignored, 0SKIPPED. The three are known and fail onmaintoo:gpu_f64_rootsandgpu_f64_math_random(Recompiler: v_rcp_f64 and v_rsq_f64 keep NaN, infinities and denormals #530),gpu_nonfused_mad_and_mac_prevent_fma_contraction(Tests: run the v_fma_f32 control of the no-contraction test on its own #676). Same run onmainwithout this change: 718 passed, 4 failed (this test is the fourth).Regression run
device_x.rs's#[cfg(test)]module (it starts at line 1045; the edit is at 1116), and no runtime code changes.pr_check.pycounts the file as runtime by its path, so this asks for thetest-onlylabel (CONTRIBUTING.md, item 3) instead of anxcl-smokerun.Not tested
xcl <command> --helpprints the usage #1468 for that failure onmain).AI use