[require] GLSL >= 4.00 GL_ARB_gpu_shader_int64 [vertex shader passthrough] [fragment shader] #version 400 #extension GL_ARB_gpu_shader_int64: require uniform int64_t src[2]; out vec4 piglit_fragcolor; void main() { if ((src[0] - src[1]) == -1l) piglit_fragcolor = vec4(0.0, 1.0, 0.0, 1.0); else piglit_fragcolor = vec4(1.0, 0.0, 0.0, 1.0); } [test] uniform int64_t src[0] 0x8000000000000000 uniform int64_t src[1] 0x8000000000000001 draw rect -1 -1 2 2 probe all rgb 0.0 1.0 0.0