summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-conf/checkout/resources/intArrayUniformShader.vert
blob: d82074e4737011e38202a63c4ac966c2310ea00c (plain)
1
2
3
4
5
6
7
8
uniform int ival;
uniform int ival2[2];

void main()
{
    int sum = ival + ival2[0] + ival2[1];
    gl_Position = vec4(sum, 0.0, 0.0, 1.0);
}