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