Sign in
skia
/
skia
/
refs/tags/canvaskit/0.26.0
/
.
/
resources
/
sksl
/
inliner
/
InlinerHonorsGLSLOutParamSemantics.sksl
blob: 6f191e59e7932631368c96ed05c5ac9e6f933c9d [
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
()
{
half x
=
0
;
return
out_params_are_distinct
(
x
,
x
)
?
colorGreen
:
colorRed
;
}