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