3 GL_MESA_shader_integer_functions
6 #extension GL_MESA_shader_integer_functions : enable
12 uniform ivec4 expected_msb;
17 gl_Position = piglit_vertex;
19 color = vec4(0.0, 1.0, 0.0, 1.0);
22 imulExtended(x, y, msb, lsb);
24 if (msb != expected_msb)
38 uniform ivec4 x 1 1 1 1
39 uniform ivec4 y 1 2 3 4
40 uniform ivec4 expected_msb 0 0 0 0
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_msb -1 -1 -4 -5
48 probe all rgba 0.0 1.0 0.0 1.0