SPIRV-Cross/shaders-hlsl/vert/matrix-attribute.vert

10 lines
135 B
GLSL
Raw Normal View History

2017-04-03 09:42:36 +00:00
#version 310 es
layout(location = 0) in vec3 pos;
layout(location = 1) in mat4 m;
2017-04-03 09:42:36 +00:00
void main()
{
gl_Position = m * vec4(pos, 1.0);
}