gpuweb / cts

WebGPU Conformance Test Suite
https://gpuweb.github.io/cts/
BSD 3-Clause "New" or "Revised" License
127 stars 77 forks source link

wgsl: execution tests for ordering of atomic writes #1489

Closed dj2 closed 4 months ago

dj2 commented 2 years ago

Create execution tests to validate the ordering of atomic writes.

during execution of a shader stage, for each atomic object A, all agents observe the same order of modification operations applied to A. The ordering for distinct atomic objects may not be related in any way; no causality is implied

https://www.w3.org/TR/WGSL/#atomic-types

dj2 commented 4 months ago

Done https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/execution/memory_model/atomicity.spec.ts