Sign in
skia
/
skia
/
f4594d1d5bd3eb7c82a6634a165039acba1386df
/
.
/
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
;
}