Sign in
dawn
/
dawn
/
2c4c3a10f47c7be432bcd4e00661be340fb226bb
/
.
/
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
;
}