3 GL_MESA_shader_integer_functions
6 #extension GL_MESA_shader_integer_functions : enable
13 uniform ivec4 expected_msb, expected_lsb;
17 gl_Position = piglit_vertex;
19 color = vec4(0.0, 1.0, 0.0, 1.0);
24 imulExtended(xx, yy, msb, lsb);
26 if (msb != expected_msb)
28 if (lsb != expected_lsb)
43 uniform ivec4 x 1 1 1 1
44 uniform ivec4 y 1 2 3 4
45 uniform ivec4 expected_msb 0 0 0 0
46 uniform ivec4 expected_lsb 1 2 3 4
48 probe all rgba 0.0 1.0 0.0 1.0
50 uniform ivec4 x -1 2 -131072 -131073
51 uniform ivec4 y 1 -2 131072 131073
52 uniform ivec4 expected_msb -1 -1 -4 -5
53 uniform ivec4 expected_lsb -1 -4 0 -262145
55 probe all rgba 0.0 1.0 0.0 1.0