skia2/tests/sksl/shared/UnusedVariables.glsl

11 lines
198 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
vec4 main() {
float b = 2.0;
float c = 3.0;
float d = c;
b++;
d++;
return vec4(float(b == 2.0), float(b == 3.0), float(d == 5.0), float(d == 4.0));
}