Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
shared
/
StructArrayFollowedByScalar.sksl
blob: 67bf3556316a11754bc1b3b582c1408926491607 [
file
] [
log
] [
blame
]
struct
S
{
half rgb
[
3
],
a
;
};
half4 main
(
float2 coords
)
{
S s
;
s
.
rgb
[
0
]
=
0
;
s
.
rgb
[
1
]
=
1
;
s
.
rgb
[
2
]
=
0
;
s
.
a
=
1
;
return
half4
(
s
.
rgb
[
0
],
s
.
rgb
[
1
],
s
.
rgb
[
2
],
s
.
a
);
}