Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
runtime
/
ConversionConstructors.minified.sksl
blob: 6e67fa2839e0132c182faceb9f03ea75725a74c3 [
file
] [
log
] [
blame
]
half f
;
int
i
;
bool
b
;
half4 main
(
float2 a
){
half c
=
bool
(
f
)?
half
(
b
):
half
(
i
);
int
d
=
bool
(
i
)?
int
(
b
):
int
(
f
);
return
half4
(
c
)*
half
(
d
);}