tombox-xshader tests: pin the s_sendmsghalt and ds_ordered_count refusals #233
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!233
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/233/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?
@azerioxfr on GitHub · 2026-11-23 06:22 UTC · original
azerioxfr:xshader-pin-halt-ordered-count-refusals→main· +17 −0 · 1 files · 1 commits · closed without mergingLibrary / area: tombox-xshader tests, compute stage refusals (
hlsl.rsSOPP 0x11,hlsl/gds.rs)Exports changed (exports.txt rows): none
Source of the behaviour: the translator's own deliberate refusals. #187 lists both as "refused on purpose" for the compute stage. No translator change.
One topic, +17: one helper and one test in
tests/synthetic.rs.What was missing
s_sendmsghalt(halts the wave after the message, which HLSL has no equivalent for) andds_ordered_count(dispatch-ordered GDS append) are refused with explicit errors. They are two of the few RDNA2 instructions left grey on the map, and no test pinned either refusal, so a change could start dropping them without anyone noticing.The test
sendmsghalt_and_ordered_count_are_refusedtranslates a compute shader with each instruction and checks the exact error:s_sendmsghalt 0(0xbf910000),s_endpgms_sendmsghalt halts the wave after the messageds_ordered_countwith GDS=1 (0xd8fe0000 0x00000101),s_endpgmds_ordered_count: dispatch-ordered GDS append is not loweredcargo test --locked -p tombox-xshader --test synthetic sendmsghalt: 1 passed (x86_64-pc-windows-gnu, no floating point involved).cargo test -p tombox-xshader --test syntheticpasses for the new testmissingwith a note@omonkeyz on GitHub · 2026-11-23 14:08 UTC · original
Applied locally on main with your authorship kept (cherry-picked,
eb557e5); the tombox-xshader suite passes in a sandbox (exec 155/155 on WARP). It ships in the next release; this PR will be closed when that is pushed. Thanks.@kiwe147 on GitHub · 2026-11-23 18:57 UTC · original
Tested head
c762fc976e, applied withgit apply(whitespace ignored, the line endings of my checkout differ) onmainf89e410, together with #204, #234 (one tree; the PRs touch different files). It applied without conflicts and built.Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, NVIDIA GeForce RTX 3080 (driver 621.24), MSVC, Rust 1.91.1.
tombox-xshaderlib +opcodes,synthetic,mesh,linkage,mixed_table,ps_linkage,centroid,gcn_dims,amp,xshader_cli,isa_sweepexecsuite on WARPTOMBOX_EXEC_HW=1(RTX 3080)No new failure against
mainf89e410in any of these. This is one combined tree, not a run of this PR alone.AI-assisted: yes (Claude Code)
@omonkeyz on GitHub · 2026-11-25 13:08 UTC · original
Applied on main in
eb557e5(cherry-picked onto the current history with your authorship kept; comment lines stripped per CONTRIBUTING). Thank you.Pull request closed