Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
third_party
/
skia_next
/
third_party
/
skia
/
resources
/
sksl
/
inliner
/
InlineWithInoutArgument.sksl
blob: f2be086440ecc99bd16692f06602cf13ad40fdf1 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
;
// We don't inline functions with out parameters. (skia:11326)
inline
void
outParameter
(
inout half4 x
)
{
x
*=
x
;
}
half4 main
(
float2 coords
)
{
half4 c
=
colorGreen
;
outParameter
(
c
);
return
c
;
}