skia2/tests/sksl/shared/Hex.glsl
John Stiles 16a97bb2cb Re-enable SkSL Hex test with constants that fit in 16 bits.
Larger constants caused failures on Adreno 330 (Nexus 5).

Change-Id: I1af1df786f8e4d34f8ec47152875927bfe948190
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/366336
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-02-04 17:15:08 +00:00

17 lines
234 B
GLSL

out vec4 sk_FragColor;
uniform vec4 colorGreen;
vec4 main() {
int i1 = 0;
i1++;
int i2 = 4660;
i2++;
int i3 = 32766;
i3++;
int i4 = -32766;
i4++;
int i5 = 19132;
i5++;
return colorGreen;
}