Debian Codegraph @

third_party/spirv-cross/shaders-hlsl/vert/basic.vert

raw
1 #version 310 es
2
3 layout(std140) uniform UBO
4 {
5 uniform mat4 uMVP;
6 };
7 layout(location = 0) in vec4 aVertex;
8 layout(location = 1) in vec3 aNormal;
9 layout(location = 0) out vec3 vNormal;
10
11 void main()
12 {
13 gl_Position = uMVP * aVertex;
14 vNormal = aNormal;
15 }