Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
31c87103c6d367ca49e1c7a26566c62a16ba26fb
/
.
/
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
);
}