Sign in
skia
/
skia
/
c36ccb6aef8c8cd95fdae2fc945451b767e0f6c8
/
.
/
resources
/
sksl
/
inliner
/
InlineWithModifiedArgument.sksl
blob: 5d841f96c67be7d7cbdac073d31b3d8a7a770069 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
;
inline
half parameterWrite
(
half x
)
{
x
*=
x
;
return
x
;
}
half4 main
()
{
half4 c
=
colorGreen
;
c
.
g
=
parameterWrite
(
c
.
g
);
return
c
;
}