skia2/tests/sksl/shared/Clockwise.glsl

6 lines
97 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
void main() {
sk_FragColor = vec4(float(gl_FrontFacing ? 1 : -1));
}