3 GL_MESA_shader_integer_functions
6 #extension GL_MESA_shader_integer_functions : enable
12 uniform ivec4 expected_lsb;
17 gl_Position = piglit_vertex;
19 color = vec4(0.0, 1.0, 0.0, 1.0);
22 imulExtended(x, y, msb, lsb);
24 if (lsb != expected_lsb)
38 uniform ivec4 x 1 1 1 1
39 uniform ivec4 y 1 2 3 4
40 uniform ivec4 expected_lsb 1 2 3 4
42 probe all rgba 0.0 1.0 0.0 1.0
44 uniform ivec4 x -1 2 -131072 -131073
45 uniform ivec4 y 1 -2 131072 131073
46 uniform ivec4 expected_lsb -1 -4 0 -262145
48 probe all rgba 0.0 1.0 0.0 1.0