Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
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
);}