3 GL_MESA_shader_integer_functions
5 [vertex shader passthrough]
8 #extension GL_MESA_shader_integer_functions : enable
14 uniform uvec4 expected_msb, expected_lsb;
18 frag_color = vec4(0.0, 1.0, 0.0, 1.0);
23 umulExtended(xx, yy, msb, lsb);
25 if (msb != expected_msb)
27 if (lsb != expected_lsb)
33 uniform uvec4 x 1 1 1 1
34 uniform uvec4 y 1 2 3 4
35 uniform uvec4 expected_msb 0 0 0 0
36 uniform uvec4 expected_lsb 1 2 3 4
38 probe all rgba 0.0 1.0 0.0 1.0
40 uniform uvec4 x 0x10000000 0x10000000 0xFFFFFFFF 0xFFFFFFFF
41 uniform uvec4 y 0x10 0x11 0x2 0xFFFFFFFF
42 uniform uvec4 expected_msb 0x1 0x1 0x1 0xFFFFFFFE
43 uniform uvec4 expected_lsb 0 0x10000000 0xFFFFFFFE 0x1
45 probe all rgba 0.0 1.0 0.0 1.0