Debian Codegraph @

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

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