Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
array_in_struct.wgsl.expected.glsl
blob: 2114e741a9a479e080ab88e13221c80f68088765 [
file
] [
log
] [
blame
]
#version 310 es
struct
str
{
int
arr
[
4
];
};
str P
=
str
(
int
[
4
](
0
,
0
,
0
,
0
));
int
[
4
]
func
(
inout
int
pointer
[
4
])
{
return
pointer
;
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
int
r
[
4
]
=
func
(
P
.
arr
);
}