cts
cts copied to clipboard
wgsl: validate all arithmetic operations fail if one of the types is an atomic.
The only valid operations on atomics are the builtins. Validate all of the arithmetic operations fail if one of the types is an atomic.
https://www.w3.org/TR/WGSL/#atomic-types
Add is tested in https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/atomics.spec.ts others should probably be tested as well.