de33d89074
Needed for newer glslang. With Vulkan semantics for SPIR-V, all locations must be explicitly defined.
10 lines
135 B
GLSL
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);
|
|
}
|