mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 04:11:25 +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>
28 lines
290 B
WebGPU Shading Language
28 lines
290 B
WebGPU Shading Language
struct S0 {
|
|
x : i32,
|
|
a : atomic<u32>,
|
|
y : i32,
|
|
z : i32,
|
|
}
|
|
|
|
struct S1 {
|
|
x : i32,
|
|
a : S0,
|
|
y : i32,
|
|
z : i32,
|
|
}
|
|
|
|
struct S2 {
|
|
x : i32,
|
|
y : i32,
|
|
z : i32,
|
|
a : S1,
|
|
}
|
|
|
|
var<workgroup> wg : S2;
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
atomicStore(&(wg.a.a.a), 1u);
|
|
}
|