Sign in
skia
/
skia
/
3658238492093ca6039e939c34e8e721f5cbbc85
/
.
/
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
;
}