SPIRV-Cross/shaders-hlsl/vert/matrix-attribute.vert
Hans-Kristian Arntzen de33d89074 Add explicit in/out locations everywhere.
Needed for newer glslang. With Vulkan semantics for SPIR-V, all
locations must be explicitly defined.
2017-06-21 09:39:08 +02:00

10 lines
135 B
GLSL

#version 310 es
layout(location = 0) in vec3 pos;
layout(location = 1) in mat4 m;
void main()
{
gl_Position = m * vec4(pos, 1.0);
}