Debian Codegraph @

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

raw
1 #version 450
2
3 layout(vertices = 4) out;
4
5 layout(location = 0) in mat4 vInputs[gl_MaxPatchVertices];
6 layout(location = 0) out mat4 vOutputs[4];
7
8 void main()
9 {
10 mat4 tmp[gl_MaxPatchVertices] = vInputs;
11 vOutputs[gl_InvocationID] = tmp[gl_InvocationID];
12 }