Sign in
dawn
/
dawn
/
1ab9f5e118e7d4d16640c4f90af0fcd6068d1c19
/
.
/
test
/
tint
/
builtins
/
atomicStore
/
struct
/
struct_of_array.wgsl.expected.wgsl
blob: 793d8c8c66e683263f3281e6499569edbc03bfe7 [
file
] [
log
] [
blame
]
struct
S
{
x
:
i32
,
a
:
array
<
atomic
<u32>
,
10
>,
y
:
u32
,
}
var
<workgroup>
wg
:
S
;
@compute
@workgroup_size
(
1
)
fn compute_main
()
{
atomicStore
(&(
wg
.
a
[
4
]),
1u
);
}