com.io7m.jcanephora.tests.contracts.attributes4.vert Maven / Gradle / Ivy
#version 330 core
layout(location = 0) in mat2x4 m4;
layout(location = 2) in mat2x3 m3;
layout(location = 4) in mat2x2 m2;
void
main (void)
{
vec4 q = vec4 (m4[0]);
q = q + vec4 (m3 [0], 1.0);
q = q + vec4 (m2 [0], 1.0, 1.0);
gl_Position = q;
}