6eee6b2736
This reverts commit f06aeedcf1
.
Reason for revert: fract failing on Tegra3
Original change's description:
> Add intrinsic tests for mod() and fract().
>
> These are fully supported by ES2 and will be covered by dm tests.
>
> Change-Id: Iebf4effe8ab928662b55c0bb5b09e8b2a61487ca
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/362460
> Commit-Queue: John Stiles <johnstiles@google.com>
> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com
Change-Id: Ib2071c90addd01e3b299553e020950a89eb01e4d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/363036
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
12 lines
178 B
GLSL
12 lines
178 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
in float a;
|
|
in float b;
|
|
in vec4 c;
|
|
in vec4 d;
|
|
void main() {
|
|
sk_FragColor.x = mod(a, b);
|
|
sk_FragColor = mod(c, b);
|
|
sk_FragColor = mod(c, d);
|
|
}
|