skia2/tests/sksl/shared/MultipleAssignments.glsl

13 lines
182 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
vec4 main() {
float x;
float y;
x = (y = 1.0);
float a;
float b;
float c;
a = (b = (c = 0.0));
return vec4(a * b, x, c, y);
}