3 GL_MESA_shader_integer_functions
6 #extension GL_MESA_shader_integer_functions : enable
12 uniform ivec4 expected_msb, 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 (msb != expected_msb)
26 if (lsb != expected_lsb)
40 uniform ivec4 x 1 1 1 1
41 uniform ivec4 y 1 2 3 4
42 uniform ivec4 expected_msb 0 0 0 0
43 uniform ivec4 expected_lsb 1 2 3 4
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
50 uniform ivec4 expected_lsb -1 -4 0 -262145
52 probe all rgba 0.0 1.0 0.0 1.0