1 # Check that multiplying an ivec4 by a constant value works correctly
2 # in the vertex shader.
10 uniform ivec4 expected;
14 gl_Position = gl_Vertex;
15 if (x * 0x69c477b9 == expected)
16 gl_FrontColor = vec4(0.0, 1.0, 0.0, 1.0);
18 gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0);
25 gl_FragColor = gl_Color;
29 uniform ivec4 x -763033965 -1295568908 -1071767891 -1156452404
30 uniform ivec4 expected 1270617403 -1811147948 1199216133 -895607188
32 probe all rgba 0.0 1.0 0.0 1.0