Sign in
dawn
/
dawn
/
074e17e34a1b0d0c46408458ad46bbaa402216ce
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
array_in_struct.wgsl.expected.ir.fxc.hlsl
blob: d852c97eec8d7cfb1bbf3a9ae79c8feb7bac9503 [
file
] [
log
] [
blame
]
struct
str
{
int
arr
[
4
];
};
typedef
int
ary_ret
[
4
];
ary_ret func
(
inout
int
pointer
[
4
])
{
int
v
[
4
]
=
pointer
;
return
v
;
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
str F
=
(
str
)
0
;
int
r
[
4
]
=
func
(
F
.
arr
);
}