cts icon indicating copy to clipboard operation
cts copied to clipboard

wgsl: Execution tests for atomic initialization

Open dj2 opened this issue 3 years ago • 1 comments

Atomics are initialized either

  1. from an SSBO
  2. to 0 as workgroup memory.

Write tests to validate the atomics are correctly initialized in both those cases.

dj2 avatar May 30 '22 19:05 dj2

Initialization to 0 is tested in https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/execution/zero_init.spec.ts

dj2 avatar Apr 23 '24 20:04 dj2

SSBO initialized values are tested (0 and non-zero) via the atomic execution tests (e.g. add uses 0 and and uses 0xfffffff).

alan-baker avatar May 14 '24 13:05 alan-baker