You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: 2 unit tests failing on main after PR #2120 and D3D12.X UAV format promotion merges #2242
Failure: thread 'gpu::recomp::pso::shader_cache_tests::rerouted_disk_entries_follow_the_direct_translator' panicked at crates\xcl\src\gpu\recomp\pso.rs:1360:9: assertion left == right failed left: 68 right: 1
Root cause:
In crates/xcl/src/gpu/recomp/pso.rs:1351-1358: ust let go = |blob: &[u8], version: u64, marker: u8, rerouted: bool, calls: &mut u32| { cached_rerouted(&dir, ident, version, blob, Stage::Compute, 0, 1, true, || { *calls += 1; Ok((compiled(marker), rerouted)) }) .unwrap() .dxil[0] };
compiled(marker) was updated in commit 743a612 to return synthetic_dxil(marker), which begins with �"DXBC" (�'D' = 68) at byte 0 and embeds marker at index 67 (�[67] = marker;). Because line 1357 indexes .dxil[0], go(...) evaluates to 68 instead of marker, failing the assertion �ssert_eq!(go(..., 1), 1).
Fix:
Change .dxil[0] to .dxil[67] at line 1357 (matching line 1328's �ssert_eq!(other.dxil[67], 4)).
Failure: thread 'hle::d3d12x::device_x::tests::pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa' panicked at crates\xcl\src\hle\d3d12x\device_x.rs:1376:13: assertion left == right failed: format 85 kept left: 28 right: 85
However, in pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa (line 1372): ust 85, 88, 89, 92, // B5G6R5, B8G8R8X8, XR_BIAS
The test passes flags
Thank you — this is exactly the two failures, and the root causes you give are right (marker at byte 67 in synthetic_dxil; 85 → 28 and 88 → 87 promotions with the UAV flag kept).
#2245 fixes both: .dxil[67] in the pso test, and the format loop now asserts the flag stays for the two promoted formats and is stripped for the rest. On this machine the suite goes from 2 failed to 1243 passed, 0 failed, 46 ignored, and the PR has the smoke pair the description check asks for (the files are under crates/xcl/src). AI use: OpenCode, Claude Fable 5.2.
Activity
b3IKK commentedon Nov 25, 2026
Thank you — this is exactly the two failures, and the root causes you give are right (marker at byte 67 in
synthetic_dxil; 85 → 28 and 88 → 87 promotions with the UAV flag kept).#2245 fixes both:
.dxil[67]in the pso test, and the format loop now asserts the flag stays for the two promoted formats and is stripped for the rest. On this machine the suite goes from 2 failed to 1243 passed, 0 failed, 46 ignored, and the PR has the smoke pair the description check asks for (the files are undercrates/xcl/src). AI use: OpenCode, Claude Fable 5.2.