Sign in
dawn
/
dawn
/
f4686675192881b3f18a8c6f708ba67edf442543
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
struct_in_array.wgsl.expected.wgsl
blob: 847d132204028ad39d23b323b061c01e7f4ffd9d [
file
] [
log
] [
blame
]
struct
str
{
i
:
i32
,
}
fn func
(
pointer
:
ptr
<
private
,
str
>)
->
str
{
return
*(
pointer
);
}
var
<private>
P
:
array
<
str
,
4
>;
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
P
[
2
]));
}