glslang/Test/baseResults/mains1.frag.out
John Kessenich 906cc21816 Linker: Eliminate uncalled functions, because they can be ill-defined.
Fixes issue #610. Also provides a testing option to keep uncalled functions.
2016-12-09 19:22:20 -07:00

70 lines
1.8 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 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: can't handle multiple entry points per 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:? 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