Sign in
dawn
/
dawn
/
5cf943e7972c52547ce3b2d581bd208ce2e18886
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
private
/
array_in_struct.wgsl.expected.wgsl
blob: 99958c77089f2f7dbd29752b9f6583191ba884b8 [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
struct
str
{
arr
:
array
<
i32
,
4
>,
}
fn func
(
pointer
:
ptr
<
private
,
array
<
i32
,
4
>>)
{
*(
pointer
)
=
array
<
i32
,
4
>();
}
var
<private>
P
:
str
;
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&(
P
.
arr
));
}