Debian Codegraph @

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

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