skia2/tests/sksl/inliner/golden/DoWhileBodyMustBeInlinedIntoAScope.glsl

14 lines
246 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
void main() {
sk_FragColor = vec4(0.0);
do {
vec4 _0_adjust;
{
_0_adjust = sk_FragColor + vec4(0.125);
}
sk_FragColor = _0_adjust;
} while (sk_FragColor.x < 0.5);
}