tombox-xshader tests: update mesh_refusals_are_explicit to the current translator #19
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19"
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:33:30Z.
Problem
mesh_refusals_are_explicitfails onmain: two assertions expect refusals that the translator no longer produces.payload_bytes = 16is now translated (amp_ms_payload), so.err().expect("refusal")panics.s3 = payload ring >> 8 ... no global-store path. It is nows_sendmsg outside a geometry shader(the program sendsGS_ALLOC_REQ, which an amplification shader cannot).Change
Assert the current behaviour instead:
ms_6_5, HLSL containsstruct TbPayload { uint w[4]; };andin payload TbPayload tb_pl(the same stringstests/amp.rschecks for the paired mesh shader).s_sendmsg outside a geometry shader.All other refusal assertions are unchanged. Test code only.
Testing
Windows 10 19045, MSVC 14.44, rustc 1.100.0, AMD Radeon RX 7600:
TOMBOX_EXEC_HW=1 cargo test -p tombox-xshader --test mesh: 13 passed, 1 failed. The failure isgta_mesh_programs_extract_with_mesh_runtime_info, which needs localanalysis/shaders/meshfixtures (see #13). With that fixture test skipped, all other mesh tests pass, including the three GPU mesh tests on the hardware adapter.MeshShaderTier 0, the message says to rerun withTOMBOX_EXEC_HW=1).🤖 Generated with Claude Code
Imported from omonkeyz/xbox-emulator. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-21T17:33:39Z.
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:13:10Z.
Main's history was rewritten, which auto-closed this PR (sorry for the noise). Already covered on main by the current mesh refusal tests. Thanks!
Pull request closed