Sign in
skia
/
skia
/
e8ab6e172d07e8d0f04e1fdf17f1202a4547359a
/
.
/
resources
/
sksl
/
shared
/
OutParamsAreDistinctFromGlobal.sksl
blob: f583847fc18c0496783a699878e278f2d33f3016 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
,
colorRed
;
half x
=
1
;
bool
out_params_are_distinct_from_global
(
out
half y
)
{
y
=
2
;
return
x
==
1
&&
y
==
2
;
}
half4 main
(
float2 coords
)
{
return
out_params_are_distinct_from_global
(
x
)
?
colorGreen
:
colorRed
;
}