3 GL_MESA_shader_integer_functions
6 #extension GL_MESA_shader_integer_functions : enable
13 uniform ivec4 expected_msb;
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)
41 uniform ivec4 x 1 1 1 1
42 uniform ivec4 y 1 2 3 4
43 uniform ivec4 expected_msb 0 0 0 0
45 probe all rgba 0.0 1.0 0.0 1.0
47 uniform ivec4 x -1 2 -131072 -131073
48 uniform ivec4 y 1 -2 131072 131073
49 uniform ivec4 expected_msb -1 -1 -4 -5
51 probe all rgba 0.0 1.0 0.0 1.0