Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/flatten/matrixindex.flatten.vert

raw
1 #version 310 es
2
3 uniform vec4 UBO[14];
4 layout(location = 0) out vec4 oA;
5 layout(location = 1) out vec4 oB;
6 layout(location = 2) out vec4 oC;
7 layout(location = 3) out vec4 oD;
8 layout(location = 4) out vec4 oE;
9
10 void main()
11 {
12 gl_Position = vec4(0.0);
13 oA = UBO[1];
14 oB = vec4(UBO[4].y, UBO[5].y, UBO[6].y, UBO[7].y);
15 oC = UBO[9];
16 oD = vec4(UBO[10].x, UBO[11].x, UBO[12].x, UBO[13].x);
17 oE = vec4(UBO[1].z, UBO[6].y, UBO[9].z, UBO[12].y);
18 }
19