ad0571f54a
Change-Id: I8eae896f5a859b59a1ba0b29dc95d5aa070c12ae Reviewed-on: https://skia-review.googlesource.com/c/skia/+/343102 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
13 lines
193 B
GLSL
13 lines
193 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
in float a;
|
|
in float b;
|
|
in float c;
|
|
in vec4 d;
|
|
in vec4 e;
|
|
in vec4 f;
|
|
void main() {
|
|
sk_FragColor.x = faceforward(a, b, c);
|
|
sk_FragColor = faceforward(d, e, f);
|
|
}
|