Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
57709e14e24924b9a2fbbb6983f9ab5b41294117
/
.
/
resources
/
sksl
/
inliner
/
InlinerHonorsGLSLOutParamSemantics.sksl
blob: 15479cb6770392b8b4ab8574f3e5c295d575ac57 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
,
colorRed
;
bool
out_params_are_distinct
(
out
half x
,
out
half y
)
{
x
=
1
;
y
=
2
;
return
x
==
1
&&
y
==
2
;
}
half4 main
(
float2 coords
)
{
half x
=
0
;
return
out_params_are_distinct
(
x
,
x
)
?
colorGreen
:
colorRed
;
}