skia2/tests/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.glsl

9 lines
162 B
Plaintext
Raw Normal View History

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