Debian Codegraph @

third_party/spirv-cross/shaders-msl/tese/load-control-point-array-of-matrix.tese

raw
1 #version 450
2
3 layout(cw, quads) in;
4 layout(location = 0) in mat4 vInputs[gl_MaxPatchVertices];
5 layout(location = 4) patch in vec4 vBoo[4];
6 layout(location = 8) patch in int vIndex;
7
8 void main()
9 {
10 mat4 tmp[gl_MaxPatchVertices] = vInputs;
11 gl_Position = tmp[0][vIndex] + tmp[1][vIndex] + vBoo[vIndex];
12
13 }