Sign in
skia
/
skia
/
8d2fb64247f0f8f5e00f6895464f94ab705c9b83
/
.
/
tests
/
sksl
/
inliner
/
DoWhileTestCannotBeInlined.glsl
blob: 0d0ec899f3cf7516debfade8da24103d0fe29231 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
bool
shouldLoop_bh4
(
vec4 value
)
{
return
value
!=
colorGreen
;
}
vec4 main
()
{
vec4 result
=
colorRed
;
do
{
result
=
colorGreen
;
}
while
(
shouldLoop_bh4
(
result
));
return
result
;
}