Sign in
dawn
/
dawn
/
efda280eda8096c31cb7fbc7a5b895773559a8bb
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
array_in_struct.wgsl.expected.dxc.hlsl
blob: f5feba01575b1589d139fafcc947b93791a5e266 [
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
;
const
int
r
[
4
]
=
func
(
F
.
arr
);
return
;
}