mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
ca0d54d51b
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.
86 lines
4.0 KiB
Plaintext
86 lines
4.0 KiB
Plaintext
450.geom
|
|
ERROR: 0:15: '[' : array index out of range '3'
|
|
ERROR: 0:15: 'gl_Position' : no such field in structure 'gl_in'
|
|
ERROR: 0:19: 'points' : can only apply to a standalone qualifier
|
|
ERROR: 3 compilation errors. No code generated.
|
|
|
|
|
|
Shader version: 450
|
|
invocations = -1
|
|
max_vertices = -1
|
|
input primitive = triangles
|
|
output primitive = none
|
|
ERROR: node is still EOpNull!
|
|
0:13 Function Definition: main( ( global void)
|
|
0:13 Function Parameters:
|
|
0:15 Sequence
|
|
0:15 direct index ( temp block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:15 'gl_in' ( in 3-element array of block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:15 Constant:
|
|
0:15 3 (const int)
|
|
0:16 move second child to first child ( temp float)
|
|
0:16 direct index (layout( stream=0) temp float CullDistance)
|
|
0:16 gl_CullDistance: direct index for structure (layout( stream=0) out 3-element array of float CullDistance)
|
|
0:16 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-element array of float CullDistance gl_CullDistance})
|
|
0:16 Constant:
|
|
0:16 3 (const uint)
|
|
0:16 Constant:
|
|
0:16 2 (const int)
|
|
0:16 direct index ( temp float CullDistance)
|
|
0:16 gl_CullDistance: direct index for structure ( in 3-element array of float CullDistance)
|
|
0:16 direct index ( temp block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:16 'gl_in' ( in 3-element array of block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:16 Constant:
|
|
0:16 1 (const int)
|
|
0:16 Constant:
|
|
0:16 0 (const int)
|
|
0:16 Constant:
|
|
0:16 2 (const int)
|
|
0:? Linker Objects
|
|
0:? 'gl_in' ( in 3-element array of block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-element array of float CullDistance gl_CullDistance})
|
|
0:? 'f' ( in 3-element array of float)
|
|
|
|
|
|
Linked geometry stage:
|
|
|
|
ERROR: Linking geometry stage: At least one shader must specify an output layout primitive
|
|
ERROR: Linking geometry stage: At least one shader must specify a layout(max_vertices = value)
|
|
|
|
Shader version: 450
|
|
invocations = 1
|
|
max_vertices = -1
|
|
input primitive = triangles
|
|
output primitive = none
|
|
ERROR: node is still EOpNull!
|
|
0:13 Function Definition: main( ( global void)
|
|
0:13 Function Parameters:
|
|
0:15 Sequence
|
|
0:15 direct index ( temp block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:15 'gl_in' ( in 3-element array of block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:15 Constant:
|
|
0:15 3 (const int)
|
|
0:16 move second child to first child ( temp float)
|
|
0:16 direct index (layout( stream=0) temp float CullDistance)
|
|
0:16 gl_CullDistance: direct index for structure (layout( stream=0) out 3-element array of float CullDistance)
|
|
0:16 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-element array of float CullDistance gl_CullDistance})
|
|
0:16 Constant:
|
|
0:16 3 (const uint)
|
|
0:16 Constant:
|
|
0:16 2 (const int)
|
|
0:16 direct index ( temp float CullDistance)
|
|
0:16 gl_CullDistance: direct index for structure ( in 3-element array of float CullDistance)
|
|
0:16 direct index ( temp block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:16 'gl_in' ( in 3-element array of block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:16 Constant:
|
|
0:16 1 (const int)
|
|
0:16 Constant:
|
|
0:16 0 (const int)
|
|
0:16 Constant:
|
|
0:16 2 (const int)
|
|
0:? Linker Objects
|
|
0:? 'gl_in' ( in 3-element array of block{ in 3-element array of float CullDistance gl_CullDistance})
|
|
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-element array of float CullDistance gl_CullDistance})
|
|
0:? 'f' ( in 3-element array of float)
|
|
|