Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
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
;
}