Sign in
skia
/
skia
/
ac897edeb16a449c6e519e13ddf3decd8a6cb763
/
.
/
tests
/
sksl
/
runtime
/
MultipleCallsInOneStatement.stage
blob: 913b0fea9fce260a8e2d2b560219eb7dc091c411 [
file
] [
log
] [
blame
]
uniform half4 colorRed
;
uniform half4 colorGreen
;
int
get_0
(
int
x
);
int
get_0
(
int
x
)
{
return
x
;
}
half4 main
(
float2 pos
)
{
int
ten
=
(
get_0
(
5
)
+
get_0
(
3
))
+
get_0
(
2
);
return
half4
(
ten
==
10
?
colorGreen
:
colorRed
);
}