open-standards/wai/wai-ops-gpu/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 4b5f73c1dc wai-ops-gpu rules: rule 8 finds naga's signed wrapping, not a bitcast (#452 review S1)
#452 review S1. Rule 8 checked signed add, subtract and multiply by looking for
`as_type<uint>(` in the MSL and `asuint(` in the HLSL, which every
`bitcast<u32>(i32)` also writes: modules with no signed arithmetic carried both, and
ops32 passed for a reason the check did not test. It now requires naga's nesting,
`as_type<int>(as_type<uint>(` (and its two-component form) in MSL and
`asint(asuint(` in HLSL. A new test takes the wrapping out of ops32's translations,
leaving its bitcasts, and shows each refused; wai-ops-gpu.yml counts 17 tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 20:59:21 -04:00
..
support wai-ops-gpu: the corpus through a browser's WebGPU 2026-10-21 04:28:40 -04:00
arith.rs ci: wai-ops-gpu, the GPU equality on the macos runner's GPU and in its browser 2026-10-21 04:37:32 -04:00
corpus.rs wai-ops-gpu: a decode takes its inputs by reference, as the interpreter's run does 2026-10-21 04:16:43 -04:00
mutants.rs wai packaging stack: #426, #438 and #452's GPU tier, squashed onto main 2026-10-24 20:31:28 -04:00
semantics.rs wai packaging stack: #426, #438 and #452's GPU tier, squashed onto main 2026-10-24 20:31:28 -04:00
wgsl_rules.rs wai-ops-gpu rules: rule 8 finds naga's signed wrapping, not a bitcast (#452 review S1) 2026-10-24 20:59:21 -04:00