blob: eaa2a592eb663a8e03e80111c7237ed0869151b1 [file] [log] [blame]
uniform int ival;
uniform ivec2 ival2;
uniform ivec3 ival3;
uniform ivec4 ival4;
void main()
{
int sum = ival
+ ival2[0] + ival2[1]
+ ival3[0] + ival3[1] + ival3[2]
+ ival4[0] + ival4[1] + ival4[2] + ival4[3];
gl_Position = vec4(sum, 0.0, 0.0, 1.0);
}