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