Sign in
skia
/
skia
/
437cd4d85737039dd9719667905832982b843574
/
.
/
resources
/
sksl
/
inliner
/
ForBodyMustBeInlinedIntoAScope.sksl
blob: f82f84e1181afdbb6f4f42fb91cce015df6a6f13 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
;
inline
half4 multiply
(
half4 x
,
half y
)
{
half4 value
=
x
*
y
;
return
value
;
}
half4 main
(
float2 coords
)
{
half4 result
;
for
(
int
x
=
0
;
x
<
4
;
++
x
)
result
=
multiply
(
colorGreen
,
1
);
return
result
;
}