Sign in
skia
/
skia
/
3658238492093ca6039e939c34e8e721f5cbbc85
/
.
/
resources
/
sksl
/
inliner
/
WhileBodyMustBeInlinedIntoAScope.sksl
blob: ca5dfcd87c8d1cf2c01dc68203d15b063626b014 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
,
colorRed
;
inline
half4 green
()
{
half4 x
=
colorGreen
;
return
x
;
}
half4 main
(
float2 coords
)
{
half4 result
=
colorRed
;
while
(
result
!=
colorGreen
)
result
=
green
();
return
result
;
}