Sign in
dawn
/
dawn
/
144ebed4c7ee7c6ecddeedfa81d607bbf256e8f2
/
.
/
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
;
}