1 450.tesc 2 ERROR: 0:20: 'location' : cannot use in a block array where new locations are needed for each block element 3 ERROR: 1 compilation errors. No code generated. 4 5 6 Shader version: 450 7 vertices = -1 8 ERROR: node is still EOpNull! 9 0:11 Function Definition: main( ( global void) 10 0:11 Function Parameters: 11 0:13 Sequence 12 0:13 move second child to first child ( temp float) 13 0:13 direct index ( temp float CullDistance) 14 0:13 gl_CullDistance: direct index for structure ( out 3-element array of float CullDistance) 15 0:13 indirect index ( temp block{ out 3-element array of float CullDistance gl_CullDistance}) 16 0:13 'gl_out' ( out 4-element array of block{ out 3-element array of float CullDistance gl_CullDistance}) 17 0:13 'gl_InvocationID' ( in int InvocationID) 18 0:13 Constant: 19 0:13 0 (const int) 20 0:13 Constant: 21 0:13 2 (const int) 22 0:13 direct index ( temp float CullDistance) 23 0:13 gl_CullDistance: direct index for structure ( in 3-element array of float CullDistance) 24 0:13 direct index ( temp block{ in 3-element array of float CullDistance gl_CullDistance}) 25 0:13 'gl_in' ( in 32-element array of block{ in 3-element array of float CullDistance gl_CullDistance}) 26 0:13 Constant: 27 0:13 1 (const int) 28 0:13 Constant: 29 0:13 0 (const int) 30 0:13 Constant: 31 0:13 2 (const int) 32 0:? Linker Objects 33 0:? 'gl_in' ( in 32-element array of block{ in 3-element array of float CullDistance gl_CullDistance}) 34 0:? 'gl_out' ( out 4-element array of block{ out 3-element array of float CullDistance gl_CullDistance}) 35 0:? 'bInst1' ( out 2-element array of block{layout( location=4) out float f, layout( location=5) out float g}) 36 0:? 'bInst2' ( out 2-element array of 3-element array of block{layout( location=6) out float f, layout( location=7) out float g}) 37 38 39 Linked tessellation control stage: 40 41 ERROR: Linking tessellation control stage: At least one shader must specify an output layout(vertices=...) 42 43 Shader version: 450 44 vertices = -1 45 ERROR: node is still EOpNull! 46 0:11 Function Definition: main( ( global void) 47 0:11 Function Parameters: 48 0:13 Sequence 49 0:13 move second child to first child ( temp float) 50 0:13 direct index ( temp float CullDistance) 51 0:13 gl_CullDistance: direct index for structure ( out 3-element array of float CullDistance) 52 0:13 indirect index ( temp block{ out 3-element array of float CullDistance gl_CullDistance}) 53 0:13 'gl_out' ( out 4-element array of block{ out 3-element array of float CullDistance gl_CullDistance}) 54 0:13 'gl_InvocationID' ( in int InvocationID) 55 0:13 Constant: 56 0:13 0 (const int) 57 0:13 Constant: 58 0:13 2 (const int) 59 0:13 direct index ( temp float CullDistance) 60 0:13 gl_CullDistance: direct index for structure ( in 3-element array of float CullDistance) 61 0:13 direct index ( temp block{ in 3-element array of float CullDistance gl_CullDistance}) 62 0:13 'gl_in' ( in 32-element array of block{ in 3-element array of float CullDistance gl_CullDistance}) 63 0:13 Constant: 64 0:13 1 (const int) 65 0:13 Constant: 66 0:13 0 (const int) 67 0:13 Constant: 68 0:13 2 (const int) 69 0:? Linker Objects 70 0:? 'gl_in' ( in 32-element array of block{ in 3-element array of float CullDistance gl_CullDistance}) 71 0:? 'gl_out' ( out 4-element array of block{ out 3-element array of float CullDistance gl_CullDistance}) 72 0:? 'bInst1' ( out 2-element array of block{layout( location=4) out float f, layout( location=5) out float g}) 73 0:? 'bInst2' ( out 2-element array of 3-element array of block{layout( location=6) out float f, layout( location=7) out float g}) 74 75