Sign in
dawn
/
dawn
/
74da3bc61d4606f2f223b2e2ce70423d5dd4efdd
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
array_in_struct.wgsl.expected.dxc.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
;
}