Sign in
dawn
/
dawn
/
refs/heads/chromium/5676
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
array_in_struct.wgsl.expected.fxc.hlsl
blob: f5feba01575b1589d139fafcc947b93791a5e266 [
file
] [
log
] [
blame
] [
edit
]
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
;
}