Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/desktop-only/vert/basic.desktop.sso.vert

raw
1 #version 450
2
3 out gl_PerVertex
4 {
5 vec4 gl_Position;
6 };
7
8 layout(binding = 0, std140) uniform UBO
9 {
10 mat4 uMVP;
11 } _16;
12
13 layout(location = 0) in vec4 aVertex;
14 layout(location = 0) out vec3 vNormal;
15 layout(location = 1) in vec3 aNormal;
16
17 void main()
18 {
19 gl_Position = _16.uMVP * aVertex;
20 vNormal = aNormal;
21 }
22