Tests: read the rerouted cache test's marker from byte 67 #2231
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2243"
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 ivall/xcl. Originally posted by Anon64 on 2026-11-25T11:09:22Z.
gpu::recomp::pso::shader_cache_tests::rerouted_disk_entries_follow_the_direct_translatorfails onmain(f087b99) withleft: 68, right: 1atpso.rs:1360. Two PRs crossed. The test came in with #2120 and reads its marker fromdxil[0]. #2064 changed the sharedcompiled()helper to build a synthetic DXIL container (synthetic_dxil) with the marker at byte 67. Byte 0 is now theDofDXBC(68). The other tests of the module already readdxil[67]. This makes the rerouted test read byte 67 too.What is in it
crates/xcl/src/gpu/recomp/pso.rs: the test'sgoclosure readsdxil[67]instead ofdxil[0]. Test-only change.Tested
cargo test -p xcl --release --lib rerouted_disk_entries: fails onmainf087b99(twice), passes with this change.cargo test -p xcl --release --lib shader_cache_tests: 20 passed, 0 failed.cargo test --workspace --release --no-fail-fast -- --test-threads=4: 1236 passed, 1 failed, 46 ignored. The failure ishle::d3d12x::device_x::tests::pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa, which also fails onmainand is fixed by #2233.Regression run
#[cfg(test)] mod shader_cache_tests, no runtime code changes.Not tested
AI use
🤖 Generated with Claude Code
Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-25T11:09:33Z.
Closing as a duplicate: #2233 was updated to make the same
dxil[0]->dxil[67]change inrerouted_disk_entries_follow_the_direct_translator. I checked its diff only after opening this, sorry for the noise. For #2233: on an RTX 3060 (Windows 11, Rust 1.100.0) that change makes the test pass, and it fails onmainf087b99without it.AI use: Claude Code (Claude Opus 5.5) opened and closed this PR and ran the tests.
Pull request closed