com.io7m.jcanephora.tests.contracts.attributes3.vert Maven / Gradle / Ivy
#version 330 core
layout(location = 0) in mat3x4 m4;
layout(location = 3) in mat3x3 m3;
layout(location = 6) in mat3x2 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;
}