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