mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
61d9fb9048
'invocations' was using 0 as the "shader never set" flag and as the default. Formalize this and explicit set to 1 and link time.
73 lines
1.9 KiB
Plaintext
73 lines
1.9 KiB
Plaintext
mains1.frag
|
|
Shader version: 110
|
|
0:? Sequence
|
|
0:3 Function Definition: main( (global void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
|
|
mains2.frag
|
|
Shader version: 110
|
|
0:? Sequence
|
|
0:3 Function Definition: main( (global void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
|
|
noMain1.geom
|
|
ERROR: #version: geometry shaders require es profile with version 310 or non-es profile with version 150 or above
|
|
ERROR: 1 compilation errors. No code generated.
|
|
|
|
|
|
Shader version: 150
|
|
invocations = -1
|
|
max_vertices = -1
|
|
input primitive = none
|
|
output primitive = points
|
|
ERROR: node is still EOpNull!
|
|
0:3 Function Definition: foo( (global void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
|
|
noMain2.geom
|
|
Shader version: 150
|
|
invocations = -1
|
|
max_vertices = -1
|
|
input primitive = none
|
|
output primitive = line_strip
|
|
0:? Sequence
|
|
0:3 Function Definition: bar( (global void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
|
|
|
|
Linked geometry stage:
|
|
|
|
ERROR: Linking geometry stage: Contradictory output layout primitives
|
|
ERROR: Linking geometry stage: Missing entry point: Each stage requires one "void main()" entry point
|
|
ERROR: Linking geometry stage: At least one shader must specify an input layout primitive
|
|
ERROR: Linking geometry stage: At least one shader must specify a layout(max_vertices = value)
|
|
|
|
Linked fragment stage:
|
|
|
|
ERROR: Linking fragment stage: Multiple function bodies in multiple compilation units for the same signature in the same stage:
|
|
main(
|
|
|
|
Shader version: 150
|
|
invocations = 1
|
|
max_vertices = -1
|
|
input primitive = none
|
|
output primitive = points
|
|
ERROR: node is still EOpNull!
|
|
0:3 Function Definition: foo( (global void)
|
|
0:3 Function Parameters:
|
|
0:3 Function Definition: bar( (global void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
Shader version: 110
|
|
0:? Sequence
|
|
0:3 Function Definition: main( (global void)
|
|
0:3 Function Parameters:
|
|
0:3 Function Definition: main( (global void)
|
|
0:3 Function Parameters:
|
|
0:? Linker Objects
|
|
|