1 noMain.vert 2 Shader version: 300 3 0:? Sequence 4 0:3 Function Definition: foo( ( global void) 5 0:3 Function Parameters: 6 0:? Linker Objects 7 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 8 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 9 10 mains.frag 11 ERROR: 0:7: 'main' : function already has a body 12 ERROR: 1 compilation errors. No code generated. 13 14 15 Shader version: 300 16 ERROR: node is still EOpNull! 17 0:3 Function Definition: main( ( global void) 18 0:3 Function Parameters: 19 0:7 Function Definition: main( ( global void) 20 0:7 Function Parameters: 21 0:? Linker Objects 22 23 24 Linked vertex stage: 25 26 ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point 27 28 Linked fragment stage: 29 30 31 Shader version: 300 32 0:? Sequence 33 0:? Linker Objects 34 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 35 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 36 Shader version: 300 37 ERROR: node is still EOpNull! 38 0:3 Function Definition: main( ( global void) 39 0:3 Function Parameters: 40 0:7 Function Definition: main( ( global void) 41 0:7 Function Parameters: 42 0:? Linker Objects 43 44