tombox-xshader tests: skip when local shader fixtures are absent #13
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13"
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 omonkeyz/xbox-emulator. Originally posted by artareias on 2026-11-21T17:17:47Z.
Problem
tombox-xshader'samp,fixturesandmeshtests read shader dumps fromanalysis/shaders, which CONTRIBUTING.md says must never be committed. On a clean checkout that directory does not exist, so 11 tests panic withmissing fixture ....Change
gta_mesh_programs_extract_with_mesh_runtime_infouseslet Some(dir) = gta_dir() else { ... return }instead ofexpect.Not changed on purpose: the GPU mesh tests that assert a mesh-capable adapter (they tell you to rerun with
TOMBOX_EXEC_HW=1).Testing
cargo test -p tombox-xshader --test amp --test fixtures --test meshon a clean clone (Windows 11, MSVC, noanalysis/): amp 4/4 and fixtures 6/6 pass, mesh 10/14 pass. The 4 remaining failures are unrelated to this change:MeshShaderTier 0, by design).mesh_refusals_are_explicitfails atmesh.rs:247: a mesh shader withpayload_bytes = 16is no longer refused, which looks like a stale expectation now thathlsl/mesh.rshandles payloads. Not touched here.🤖 Generated with Claude Code
Imported from omonkeyz/xbox-emulator. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-21T17:17:55Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Imported from omonkeyz/xbox-emulator. Originally posted by omonkeyz on 2026-11-22T13:18:44Z.
Main's history was rewritten, which auto-closed this PR. Main already covers this: the fixture tests are #[ignore]d unless the tombox_fixtures_* cfg is set (
1fc8683), so a clean checkout passes. Thanks!Pull request closed