Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
ef6bc4d7c581b8d4dfbf2cb1b2ca2f4e61607f63
/
.
/
resources
/
sksl
/
inliner
/
InlineWithModifiedArgument.sksl
blob: ca2871a5f1498f0fdb0526b08f1f63cbf12e30e1 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
;
inline
half parameterWrite
(
half x
)
{
x
*=
x
;
return
x
;
}
half4 main
(
float2 coords
)
{
half4 c
=
colorGreen
;
c
.
g
=
parameterWrite
(
c
.
g
);
return
c
;
}