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