skia2/tests/sksl/shared/golden/Hex.glsl
John Stiles ab4ab20fcf Migrate most SkSL tests currently in /glsl/ to /shared/.
These tests will also be used for Metal and SPIR-V testing. A small
handful of GLSL-specific stragglers (#version-specific or type-precision
related) will remain in /glsl/.

Change-Id: I7f2b2bd92825c327922c8ce74e438d2daa440dff
Bug: skia:10649
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/319408
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-09-25 17:13:53 +00:00

24 lines
340 B
GLSL

void main() {
int i1 = 0;
i1++;
int i2 = 305441741;
i2++;
int i3 = 2147483647;
i3++;
int i4 = -1;
i4++;
int i5 = -48879;
i5++;
uint u1 = 0u;
u1++;
uint u2 = 305441741u;
u2++;
uint u3 = 2147483647u;
u3++;
uint u4 = 4294967295u;
u4++;
uint u5 = 65535u;
u5++;
}