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