Sign in
dawn
/
dawn
/
144ebed4c7ee7c6ecddeedfa81d607bbf256e8f2
/
.
/
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
;
}