Sign in
dawn
/
dawn
/
711ed9e932e36b8050230e3a7def0874005daa6e
/
.
/
test
/
tint
/
builtins
/
atomicStore
/
struct
/
struct_of_array.wgsl
blob: ada3ef54565c26bb29f38fc9a0f0eb168640fc46 [
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
);
}