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