mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-15 06:10:05 +00:00
337dbc7d8c
Still need to handle arrays and built-in redeclarations, and many more rules, but this puts the basics in place. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23225 e7fa87d3-cd2b-0410-9028-fcbf551c1848
31 lines
691 B
Plaintext
31 lines
691 B
Plaintext
noMain.vert
|
|
|
|
0:? Sequence
|
|
0:3 Function Definition: foo( (void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
0:? 'gl_VertexID' (gl_VertexId highp int)
|
|
0:? 'gl_InstanceID' (gl_InstanceId highp int)
|
|
|
|
mains.frag
|
|
ERROR: 0:7: 'main' : function already has a body
|
|
ERROR: 1 compilation errors. No code generated.
|
|
|
|
|
|
ERROR: node is still EOpNull!
|
|
0:3 Function Definition: main( (void)
|
|
0:3 Function Parameters:
|
|
0:7 Function Definition: main( (void)
|
|
0:7 Function Parameters:
|
|
0:? Linker Objects
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
ERROR: Linking vertex stage: Missing entry point: Each stage requires one "void main()" entry point
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
|