Sign in
skia
/
skia.git
/
1456aff211ca1d3c0489365aa35b761041b56bcc
/
.
/
tests
/
sksl
/
runtime
/
ConversionConstructors.stage
blob: 711333570104e476a07b0a9ebd8a48eaeba19289 [
file
] [
log
] [
blame
]
uniform half f
;
uniform
int
i
;
uniform
bool
b
;
half4 main
()
{
half x
=
bool
(
f
)
?
half
(
b
)
:
half
(
i
);
int
y
=
bool
(
i
)
?
int
(
b
)
:
int
(
f
);
return
half4
(
half4
(
x
)
*
half
(
y
));
}