Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
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
]);
}