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