summaryrefslogtreecommitdiff
path: root/tests/wgsl/bitshifts.slang
AgeCommit message (Collapse)Author
2025-10-16Fix WGSL bitshift test typo (#8720)Julius Ikkala
Random drive-by test fix, this was reading past the end of the buffer but usually succeeded because the expected result is 0.
2025-01-10WGSL: Convert signed vector shift amounts to unsigned (#6023)Anders Leino
* WGSL: Fixes for signed shift amounts - Handle the case of vector shift amounts - Closes #5985 - Move handling of scalar case from emit to legalization - Add tests for bitshifts. * Move the binary operator legalization function to a common place * Metal: Legalize binary operations Closes #6029. * Fix Metal filecheck test The int shift amounts are now converted to unsigned. * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: Yong He <yonghe@outlook.com>