Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
runtime
/
ConversionConstructors.stage
blob: 623fc0a590baa7b054a4f62f4fbb619ebeb77701 [
file
] [
log
] [
blame
]
half f_0
;
int
i_0
;
bool
b_0
;
half4 main
(
float2 xy
)
{
half x
=
bool
(
f_0
)
?
half
(
b_0
)
:
half
(
i_0
);
int
y
=
bool
(
i_0
)
?
int
(
b_0
)
:
int
(
f_0
);
return
half4
(
half4
(
x
)
*
half
(
y
));
}