summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-getactiveuniform-mvp.vert
blob: 6af316085c170290e6e51d73d0d01e984998a11b (plain)
1
2
3
4
5
6
7
8
9
/* Used with glsl-getactiveuniform-count.  Expect 2 active uniforms.
 */
uniform vec4 color[4];

void main()
{
	gl_Position = gl_ModelViewProjectionMatrixTranspose * gl_Vertex;
	gl_FrontColor = color[1];
}