Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
StructArrayFollowedByScalar.glsl
blob: a8d87c50b3cc98a7a06168a3285c8fee63861810 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
struct
S
{
float
rgb
[
3
];
float
a
;
};
vec4 main
()
{
S s
;
s
.
rgb
[
0
]
=
0.0
;
s
.
rgb
[
1
]
=
1.0
;
s
.
rgb
[
2
]
=
0.0
;
s
.
a
=
1.0
;
return
vec4
(
s
.
rgb
[
0
],
s
.
rgb
[
1
],
s
.
rgb
[
2
],
s
.
a
);
}