com.io7m.jcanephora.tests.contracts.attributes1.vert Maven / Gradle / Ivy
#version 330 core
layout(location = 0) in mat4 m4;
layout(location = 4) in mat3 m3;
layout(location = 7) in mat2 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;
}