skia2/resources/sksl/shared/Hex.sksl
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

16 lines
220 B
Plaintext

uniform half4 colorGreen;
half4 main() {
int i1 = 0x0;
i1++;
int i2 = 0x1234;
i2++;
int i3 = 0x7ffe;
i3++;
int i4 = -0x7ffe;
i4++;
int i5 = 0x4abc;
i5++;
return colorGreen;
}