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