skia2/tests/sksl/errors/golden/OverflowIntLiteral.glsl

13 lines
316 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
int intMin = -2147483648;
int intMinMinusOne = 2147483647;
int intMax = 2147483647;
int intMaxPlusOne = -2147483648;
void main() {
sk_FragColor.x = float(intMin);
sk_FragColor.x = float(intMax);
sk_FragColor.x = float(intMinMinusOne);
sk_FragColor.x = float(intMaxPlusOne);
}