Sign in
skia
/
skia
/
9f39daff8fd5e924afa750c2daf25fd16f107c2d
/
.
/
tests
/
sksl
/
inliner
/
StructsCanBeInlinedSafely.glsl
blob: 3d4fcfdc1241eca8656ce9dea899111f2f6019a9 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
struct
Color
{
float
red
;
float
green
;
float
blue
;
float
alpha
;
};
vec4 main
()
{
Color
_0_c
;
_0_c
.
red
=
0.0
;
_0_c
.
green
=
1.0
;
_0_c
.
blue
=
0.0
;
_0_c
.
alpha
=
1.0
;
return
vec4
(
_0_c
.
red
,
_0_c
.
green
,
_0_c
.
blue
,
_0_c
.
alpha
);
}