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