skia2/tests/sksl/inliner/ForBodyMustBeInlinedIntoAScope.glsl

12 lines
203 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform vec4 colorGreen;
vec4 main() {
vec4 result;
for (int x = 0;x < 4; ++x) {
vec4 _0_value = colorGreen;
result = _0_value;
}
return result;
}