Sign in
dawn
/
dawn
/
ad6d0d3c18fb19b4493d824d612795f3efc71a0f
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
workgroup
/
struct_in_array.wgsl.expected.wgsl
blob: ebb6b294be6390d9c5f0173883fa340848007d6e [
file
] [
log
] [
blame
]
struct
str
{
i
:
i32
,
}
var
<workgroup>
S
:
array
<
str
,
4
>;
fn func
(
pointer
:
ptr
<
workgroup
,
str
>)
{
*(
pointer
)
=
str
();
}
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&(
S
[
2
]));
}