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