Detect and give error on second occurrence of #version.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24347 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
ERROR: 0:3: '{ } style initializers' : not supported with this profile: es
|
||||
ERROR: 0:3: 'initializer' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:3: 'array initializer' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:4: '#version' : must occur first in shader
|
||||
ERROR: 0:7: 'attribute' : not supported in this stage: fragment
|
||||
ERROR: 0:7: 'float' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:9: '=' : cannot convert from 'const int' to 'mediump float'
|
||||
@@ -66,7 +67,7 @@ ERROR: 0:167: 'highp' : overloaded functions must have the same parameter precis
|
||||
ERROR: 0:170: 'multiple prototypes for same function' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:177: 'multiple prototypes for same function' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:179: '' : syntax error
|
||||
ERROR: 60 compilation errors. No code generated.
|
||||
ERROR: 61 compilation errors. No code generated.
|
||||
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
|
||||
Reference in New Issue
Block a user