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