Sign in
skia
/
skia
/
8e2a84be3dee097847866b77cbfbbb094fd5d612
/
.
/
resources
/
sksl
/
inliner
/
InlineWithInoutArgument.sksl
blob: b26fb570806ddd1a2ab5013b811b8b4e83176aa3 [
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
()
{
half4 c
=
colorGreen
;
outParameter
(
c
);
return
c
;
}