Sign in
skia
/
skia
/
8d2fb64247f0f8f5e00f6895464f94ab705c9b83
/
.
/
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
;
}