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.
This commit is contained in:
7
Test/baseResults/enhanced.7.link.out
Normal file
7
Test/baseResults/enhanced.7.link.out
Normal file
@@ -0,0 +1,7 @@
|
||||
enhanced.7.vert
|
||||
enhanced.7.frag
|
||||
ERROR: Linking vertex and fragment stages: vertex block member has no corresponding member in fragment block:
|
||||
vertex stage: Block: Vertex, Member: ii
|
||||
fragment stage: Block: Vertex, Member: n/a
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
Reference in New Issue
Block a user