Sign in
android
/
platform
/
external
/
skia
/
92748af1a5
/
.
/
tests
/
sksl
/
inliner
/
InlineWithInoutArgument.glsl
blob: 7bdc4d2859dee56e48fea4dbd769b0c57196a30f [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
void
outParameter
(
inout
float
x
)
{
x
*=
2.0
;
}
void
main
()
{
float
x
=
1.0
;
outParameter
(
x
);
sk_FragColor
.
x
=
x
;
}