skia2/tests/sksl/shared/Operators.sksl
John Stiles dd7783f4ce Remove accidentally-commited conflict markers.
Change-Id: Ifc1f0921d983ee09d7bc2632aeca41689f1bf0c3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338603
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-25 19:36:21 +00:00

25 lines
545 B
Plaintext

void main() {
float x = 1, y = 2;
int z = 3;
x = x - x + y * z * x * (y - z);
y = x / y / z;
z = (z / 2 % 3 << 4) >> 2 << 1;
bool b = (x > 4) == x < 2 || 2 >= sqrt(2) && y <= z;
bool c = sqrt(2) > 2;
bool d = b ^^ c;
bool e = b && c;
bool f = b || c;
x += 12;
x -= 12;
x *= y /= z = 10;
z |= 0;
z &= -1;
z ^= 0;
z >>= 2;
z <<= 4;
z %= 5;
x = (float2(sqrt(1)), 6);
y = (float(b) * float(c) * float(d) * float(e) * float(f), 6.0);
z = (float2(sqrt(1)), 6);
}