mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
Fix collision of two CLs landing with different expectations. Change-Id: I44eb904b552f635e37dd51dcc94329fbc34af031 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94685 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
15 lines
209 B
WebGPU Shading Language
15 lines
209 B
WebGPU Shading Language
type A0 = atomic<u32>;
|
|
|
|
type A1 = array<A0, 1>;
|
|
|
|
type A2 = array<A1, 2>;
|
|
|
|
type A3 = array<A2, 3>;
|
|
|
|
var<workgroup> wg : A3;
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
atomicStore(&(wg[2][1][0]), 1u);
|
|
}
|