cts
cts copied to clipboard
wgsl: Execution tests for atomic initialization
Atomics are initialized either
- from an SSBO
- to 0 as workgroup memory.
Write tests to validate the atomics are correctly initialized in both those cases.
Initialization to 0 is tested in https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/execution/zero_init.spec.ts
SSBO initialized values are tested (0 and non-zero) via the atomic execution tests (e.g. add uses 0 and and uses 0xfffffff).