5f675be193
This does not give us 100% coverage of intrinsics yet, but it is a pretty good start. Change-Id: I97d49324db1afd9f2975c2eeafbacdead710d4aa Bug: skia:11054 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/341977 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
8 lines
116 B
GLSL
8 lines
116 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
in vec4 a;
|
|
in vec4 b;
|
|
void main() {
|
|
sk_FragColor.x = float(notEqual(a, b).x ? 1 : 0);
|
|
}
|