Sign in
skia
/
skia
/
77ba8103d34fc821bdbba9f2a54a7d7371d1d56f
/
.
/
tests
/
sksl
/
inliner
/
InlineWithInoutArgument.sksl
blob: 144dcec2c1bd53070c3f307f26e9194a2f8fa05e [
file
] [
log
] [
blame
]
inline
void
outParameter
(
inout half x
)
{
x
*=
2
;
}
void
main
()
{
half x
=
1
;
outParameter
(
x
);
sk_FragColor
.
x
=
x
;
}