Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
tests
/
sksl
/
inliner
/
TernaryTestCanBeInlined.glsl
blob: 6d6cf6e534d5d9ba344c0072a8c10871a6849a6a [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
vec4 main
()
{
return
bool
(
colorGreen
.
y
)
?
colorGreen
:
colorRed
;
}