Sign in
dawn
/
dawn
/
8f1d276a3780e023f44b54385255479b4a7e3be7
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
array_in_struct.wgsl.expected.ir.dxc.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
);
}