feat: translate ds_swizzle_b32 in wave64 shaders #283
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!283
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-283"
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?
@Tiimonprog on GitHub · 2026-11-26 00:35 UTC · original
Tiimonprog:feat/wave64-ds-swizzle→main· +42 −9 · 6 files · 1 commits · openChange
Refs #70. Translate
ds_swizzle_b32in wave64 shaders for QUAD_PERM and BITMASK_PERM. Each 32-lane half exchanges independently, inactive sources supply zero, and inactive destinations keep their value. Reuse the wave32 source-expression builder and offset validation.Verification
With
ANYXBOXX_DXCandANYXBOXX_RUNTIMEpointing to the locally built tools, andPYTHONUTF8=0:The 17 skips require unbuilt Rust/TomBox components or unavailable SPIR-V tools.
Oracle and test data
The new in-place quad-reversal and swap-16 tests compare final memory byte for byte against the existing wave64 reference interpreter. Both failed before this change with
Untranslatable: ds_swizzle_b32 (DS). Explicit assertions check preserved inactive destinations, zero from inactive sources, and distinct values in both halves. Reserved and ROTATE/FFT offsets remain rejected with their offset in the error in wave32 and wave64. All shader inputs are synthesized by the existing test encoders.English and French wave64 notes updated. README counts remain at 1600+. Created with OpenAI Codex assistance.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.