Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
tests
/
sksl
/
inliner
/
StaticSwitch.glsl
blob: 89ac653966d0226664c7fb114ac1919fe1c66c23 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
float
get_f
()
{
{
return
abs
(
2.0
);
}
return
abs
(
5.0
);
}
vec4 main
()
{
float
result
=
get_f
();
return
result
==
2.0
?
colorGreen
:
colorRed
;
}