Improve preprocessor by using GLSL scanner, allowing read-only strings to be compiled, unifying of line # tracking, and correct detection that ES #version appeared after a comment.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23721 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
ERROR: #version: statement must appear first in es-profile shader; before comments or newlines
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
ERROR: 0:34: '#version' : must occur first in shader
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
0:41 Function Definition: main( (void)
|
||||
|
||||
Reference in New Issue
Block a user