Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
array_in_struct.wgsl.expected.fxc.hlsl
blob: 30aef4828e9aec19e07fbc1c000d0f63aa1e9f0d [
file
] [
log
] [
blame
]
struct
str
{
int
arr
[
4
];
};
typedef
int
func_ret
[
4
];
func_ret func
(
inout
int
pointer
[
4
])
{
return
pointer
;
}
static
str P
=
(
str
)
0
;
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
int
r
[
4
]
=
func
(
P
.
arr
);
return
;
}