Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
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
);
}