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:
30
Test/baseResults/empty.frag.out
Normal file
30
Test/baseResults/empty.frag.out
Normal file
@@ -0,0 +1,30 @@
|
||||
empty.frag
|
||||
WARNING: #version: statement missing; use #version on first line of shader
|
||||
|
||||
0:? Sequence
|
||||
0:? Linker Objects
|
||||
|
||||
empty2.frag
|
||||
WARNING: #version: statement missing; use #version on first line of shader
|
||||
|
||||
0:? Sequence
|
||||
0:? Linker Objects
|
||||
|
||||
empty3.frag
|
||||
Warning, version 110 is not yet complete; most features are present, but a few are missing.
|
||||
|
||||
0:? Sequence
|
||||
0:? Linker Objects
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
ERROR: Linking fragment stage: Cannot mix ES profile with non-ES profile shaders
|
||||
|
||||
ERROR: Linking fragment stage: Cannot mix ES profile with non-ES profile shaders
|
||||
|
||||
ERROR: Linking fragment stage: Missing entry point: Each stage requires one "void main()" entry point
|
||||
|
||||
0:? Sequence
|
||||
0:? Linker Objects
|
||||
|
||||
@@ -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