Sign in
dawn
/
dawn
/
e4d210d69171910312fedb84f836653b4a9869a2
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
struct_in_array.wgsl.expected.dxc.hlsl
blob: e9276c0b652099a3be91475b894c0f8c8d646b02 [
file
] [
log
] [
blame
]
struct
str
{
int
i
;
};
str func
(
inout str pointer
)
{
return
pointer
;
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
str F
[
4
]
=
(
str
[
4
])
0
;
str r
=
func
(
F
[
2
]);
return
;
}