Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
shared
/
OutParamsAreDistinct.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
;
}