Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
third_party
/
skia_next
/
third_party
/
skia
/
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
;
}