Sign in
skia
/
skia
/
9f39daff8fd5e924afa750c2daf25fd16f107c2d
/
.
/
tests
/
sksl
/
inliner
/
IfTestCanBeInlined.glsl
blob: a5f0dfd170d149a554b1fd3e766446f5f57bbd7c [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
vec4 main
()
{
bool
_0_result
=
bool
(
colorGreen
.
y
);
if
(
_0_result
)
return
colorGreen
;
else
return
colorRed
;
}