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>
13 lines
168 B
GLSL
13 lines
168 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
in vec2 a;
|
|
in vec2 b;
|
|
void main() {
|
|
float _0_cross;
|
|
{
|
|
_0_cross = a.x * b.y - a.y * b.x;
|
|
}
|
|
sk_FragColor.x = _0_cross;
|
|
|
|
}
|