glslang/Test/baseResults/320.geom.out
Greg Fischer ca0d54d51b Enhance readability of error messages for GLSL
Specifically, make GLSL link error messages more specific and output
only information relevant to the error.

Also change type printing to more closely reflect GLSL syntax. This
is the default for link error messages, but must me enabled with the
new option --enhanced-msgs for compilation error messages.

Also with --enhanced-msgs, only emit one error message per source
line.
2022-02-01 12:10:08 -07:00

252 lines
14 KiB
Plaintext

320.geom
ERROR: 0:19: 'fromVertex' : block instance name redefinition
ERROR: 0:23: 'fromVertex' : redefinition
ERROR: 0:25: 'fooC' : block instance name redefinition
ERROR: 0:33: 'EmitStreamVertex' : no matching overloaded function found
ERROR: 0:34: 'EndStreamPrimitive' : no matching overloaded function found
ERROR: 0:37: 'gl_ClipDistance' : undeclared identifier
ERROR: 0:37: 'gl_ClipDistance' : left of '[' is not of type array, matrix, or vector
ERROR: 0:38: 'gl_ClipDistance' : no such field in structure 'gl_in'
ERROR: 0:38: 'expression' : left of '[' is not of type array, matrix, or vector
ERROR: 0:37: 'assign' : l-value required (can't modify a const)
ERROR: 0:45: 'selecting output stream' : not supported with this profile: es
ERROR: 0:52: 'max_vertices' : too large, must be less than gl_MaxGeometryOutputVertices
ERROR: 0:52: 'max_vertices' : cannot change previously set layout value
ERROR: 0:53: 'max_vertices' : can only apply to a standalone qualifier
ERROR: 0:58: 'points' : cannot change previously set output primitive
ERROR: 0:59: 'points' : cannot change previously set output primitive
ERROR: 0:60: 'triangle_strip' : cannot apply to input
ERROR: 0:61: 'triangle_strip' : cannot apply to: uniform
ERROR: 0:62: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:63: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:64: 'invocations' : can only apply to a standalone qualifier
ERROR: 0:66: 'invocations' : can only apply to a standalone qualifier
ERROR: 0:67: 'max_vertices' : can only apply to a standalone qualifier
ERROR: 0:68: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:71: 'lines' : cannot apply to 'out'
ERROR: 0:73: 'triangles' : cannot change previously set input primitive
ERROR: 0:74: 'triangles_adjacency' : cannot change previously set input primitive
ERROR: 0:106: 'gl_ViewportIndex' : undeclared identifier
ERROR: 0:107: 'gl_MaxViewports' : undeclared identifier
ERROR: 0:113: 'lines_adjacency' : inconsistent input primitive for array size of explArrayBad
ERROR: 0:114: 'in' : type must be an array: nonArrayed
ERROR: 0:122: 'component' : not supported with this profile: es
ERROR: 0:126: 'gl_MaxGeometryVaryingComponents' : undeclared identifier
ERROR: 0:127: 'gl_VerticesIn' : undeclared identifier
ERROR: 0:132: 'gl_PointSize' : required extension not requested: Possible extensions include:
GL_EXT_geometry_point_size
GL_OES_geometry_point_size
ERROR: 0:133: 'gl_PointSize' : required extension not requested: Possible extensions include:
GL_EXT_geometry_point_size
GL_OES_geometry_point_size
ERROR: 36 compilation errors. No code generated.
Shader version: 320
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:29 Function Definition: main( ( global void)
0:29 Function Parameters:
0:31 Sequence
0:31 EmitVertex ( global void)
0:32 EndPrimitive ( global void)
0:33 Constant:
0:33 0.000000
0:34 Constant:
0:34 0.000000
0:36 move second child to first child ( temp mediump 3-component vector of float)
0:36 color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
0:36 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const uint)
0:36 color: direct index for structure ( in mediump 3-component vector of float)
0:36 direct index ( temp block{ in mediump 3-component vector of float color})
0:36 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const int)
0:36 Constant:
0:36 0 (const int)
0:37 move second child to first child ( temp float)
0:37 Constant:
0:37 0.000000
0:38 Constant:
0:38 0.000000
0:39 move second child to first child ( temp highp 4-component vector of float)
0:39 gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
0:39 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const uint)
0:39 gl_Position: direct index for structure ( in highp 4-component vector of float Position)
0:39 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const int)
0:39 Constant:
0:39 0 (const int)
0:41 move second child to first child ( temp highp int)
0:41 'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
0:41 'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
0:42 move second child to first child ( temp highp int)
0:42 'gl_Layer' (layout( stream=0) out highp int Layer)
0:42 Constant:
0:42 2 (const int)
0:53 Function Definition: foo(i1; ( global void)
0:53 Function Parameters:
0:53 'a' ( in highp int)
0:55 Sequence
0:55 move second child to first child ( temp mediump 4-component vector of float)
0:55 a: direct index for structure (layout( stream=0) out mediump 4-component vector of float)
0:55 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:55 Constant:
0:55 0 (const int)
0:55 Constant:
0:55 1.000000
0:55 1.000000
0:55 1.000000
0:55 1.000000
0:104 Function Definition: fooe1( ( global void)
0:104 Function Parameters:
0:106 Sequence
0:106 'gl_ViewportIndex' ( temp float)
0:107 'gl_MaxViewports' ( temp float)
0:108 Constant:
0:108 4 (const int)
0:109 Sequence
0:109 move second child to first child ( temp highp int)
0:109 'inv' ( temp highp int)
0:109 'gl_InvocationID' ( in highp int InvocationID)
0:124 Function Definition: notHere( ( global void)
0:124 Function Parameters:
0:126 Sequence
0:126 'gl_MaxGeometryVaryingComponents' ( temp float)
0:127 'gl_VerticesIn' ( temp float)
0:130 Function Definition: pointSize2( ( global void)
0:130 Function Parameters:
0:132 Sequence
0:132 Sequence
0:132 move second child to first child ( temp highp float)
0:132 'ps' ( temp highp float)
0:132 gl_PointSize: direct index for structure ( in highp float PointSize)
0:132 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:132 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:132 Constant:
0:132 3 (const int)
0:132 Constant:
0:132 1 (const int)
0:133 move second child to first child ( temp highp float)
0:133 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize highp float PointSize)
0:133 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:133 Constant:
0:133 1 (const uint)
0:133 'ps' ( temp highp float)
0:? Linker Objects
0:? 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout( stream=4) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:? 'badv4' (layout( stream=0) out mediump 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) out highp int a})
0:? 'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
0:? 'insn' ( in 4-element array of block{ in highp int a15})
0:? 'anon@2' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
0:? 'anon@3' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( const highp int)
0:? 2752 (const int)
0:? 'explArray' ( in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' ( in mediump 4-component vector of float)
0:? 'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
0:? 'centr' ( centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
0:? 'comp' (layout( location=7 component=2) in 4-element array of mediump float)
Linked geometry stage:
Shader version: 320
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:29 Function Definition: main( ( global void)
0:29 Function Parameters:
0:31 Sequence
0:31 EmitVertex ( global void)
0:32 EndPrimitive ( global void)
0:33 Constant:
0:33 0.000000
0:34 Constant:
0:34 0.000000
0:36 move second child to first child ( temp mediump 3-component vector of float)
0:36 color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
0:36 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const uint)
0:36 color: direct index for structure ( in mediump 3-component vector of float)
0:36 direct index ( temp block{ in mediump 3-component vector of float color})
0:36 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const int)
0:36 Constant:
0:36 0 (const int)
0:37 move second child to first child ( temp float)
0:37 Constant:
0:37 0.000000
0:38 Constant:
0:38 0.000000
0:39 move second child to first child ( temp highp 4-component vector of float)
0:39 gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
0:39 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const uint)
0:39 gl_Position: direct index for structure ( in highp 4-component vector of float Position)
0:39 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const int)
0:39 Constant:
0:39 0 (const int)
0:41 move second child to first child ( temp highp int)
0:41 'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
0:41 'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
0:42 move second child to first child ( temp highp int)
0:42 'gl_Layer' (layout( stream=0) out highp int Layer)
0:42 Constant:
0:42 2 (const int)
0:? Linker Objects
0:? 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout( stream=4) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:? 'badv4' (layout( stream=0) out mediump 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) out highp int a})
0:? 'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
0:? 'insn' ( in 4-element array of block{ in highp int a15})
0:? 'anon@2' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
0:? 'anon@3' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( const highp int)
0:? 2752 (const int)
0:? 'explArray' ( in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' ( in mediump 4-component vector of float)
0:? 'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
0:? 'centr' ( centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
0:? 'comp' (layout( location=7 component=2) in 4-element array of mediump float)