Fix main's red CI: Leonida exec-as-data cases ignored under the lane-bit exec model; Cargo.lock for pixrt10 #132
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!132
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/132/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?
@SchmashinPrunes on GitHub · 2026-11-22 14:29 UTC · original
SchmashinPrunes:leonida-exec-lane-model→main· +10 −1 · 2 files · 1 commits · closed without mergingMain's Rust CI has been red since
aa14bfa, for two separate reasons. This fixes both, so PRs can pass the required checks again.Library / area: tombox-xshader tests (
tests/exec_vop/leonida.rs) andCargo.lock. No translator or library change.Exports changed (exports.txt rows): none
Source of the behaviour: main's own tests and manifests.
1.
leonida_wave64_scalar_masksfails on WARP sinceaa14bfaaa14bfamakes exec writes keep only the invocation's lane bit (exec_lo = (expr) & 1u,exec_hi = 0u; testexec_writes_keep_only_the_lane_bit_so_mask_loops_end). Three of the Leonida cases from #64 copy exec into SGPRs and expect the wave-wide mask (bcnt1 32,s6 = 0xffff0000,s7 = 0xffff). They passed while exec writes were stored verbatim; under the lane-bit model a read of exec as data can only be 0 or 1:The two tests expect opposite results from the same read (
s_mov_b64 s[..], execafter an exec write), so both can't pass under a one-lane-per-invocation model. Storing either half verbatim brings back the mask loops that don't end, whichaa14bfafixed.So the three cases move unchanged into
leonida_wave64_exec_as_data,#[ignore]d with the reason, next towave_scc_readfirstlane_isa, which documents the same model's limit for saveexec SCC /v_readfirstlane. The twos_bfm_b64cases don't touch exec and keep running inleonida_wave64_scalar_masks. Run with--ignored, the new test still fails on exactly those three cases, so the vectors stay on record. Making them pass would need exec modelled as a wave-wide mask, which is your call on the lane model. cc @QuentinDanblon since these are your vectors.2.
Cargo.lockis stale sinced585b94d585b94addedconsole-sandboxandxbtptopixrt10without updatingCargo.lock, so every--lockedstep fails (cannot update the lock file ... because --locked was passed). The lock entry gains the two path dependencies, byte-identical to what cargo writes.Tests (Windows 11 Pro, WARP, DXC 1.9.2609, on
d585b94)cargo test -p tombox-xshaderpasses🤖 Generated with Claude Code
@omonkeyz on GitHub · 2026-11-22 14:40 UTC · original
Thanks for tracking both CI breaks down! The Cargo.lock part is already on main (
bd880fchas the same pixrt10 entry). For the Leonida cases we'd rather not ignore them. The translator fix in progress keeps the full exec mask for scalar reads and uses only the lane bit in the lane-active and loop-exit tests, so that leonida_wave64_scalar_masks and exec_writes_keep_only_the_lane_bit_so_mask_loops_end both pass. I'll close this with a pointer once that lands.@omonkeyz on GitHub · 2026-11-22 15:16 UTC · original
Fixed on main in
c95a909: the translator now keeps the full exec mask and reduces only s_wqm writes to exec to the lane bit, so leonida_wave64_scalar_masks passes again in CI (Rust run onc95a909, WARP) with no cases ignored. Thanks for tracking the CI break down and for the clear report!Pull request closed