Tests: read the rerouted cache test's marker from byte 67 #2243
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2243
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2243/head"
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?
@Anon64 on GitHub · 2026-11-25 11:09 UTC · original
Anon64:tests/rerouted-marker-byte→main· +1 −1 · 1 files · 1 commits · closed without merginggpu::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
@Anon64 on GitHub · 2026-11-25 11:09 UTC · original
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