Sign in
skia
/
skia
/
d0e3902c97b363ce29835c785a70121622b64f02
/
.
/
tests
/
sksl
/
folding
/
TernaryFolding.minified.sksl
blob: 1b070da3f658003a62016195be64fac5db1ad329 [
file
] [
log
] [
blame
]
uniform half4 colorRed
;
uniform half4 colorGreen
;
bool
a
(
out
bool
b
){
b
=
true
;
return
false
;}
half4 main
(
float2 b
){
bool
c
;
c
=
true
;
half4 d
=
colorGreen
;
half4 e
=
colorRed
;
bool
f
=
false
;
bool
g
=(
a
(
f
),
true
);
return
(
c
&&
f
)&&
g
?
d
:
e
;}