Implement ES-3.0-specific error semantics for redefining predefined macros.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29353 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -25,8 +25,8 @@ ERROR: 0:136: 'length' : no matching overloaded function found
|
||||
ERROR: 0:136: '=' : cannot convert from 'const float' to 'int'
|
||||
ERROR: 0:138: ''' : character literals not supported
|
||||
ERROR: 0:138: ''' : character literals not supported
|
||||
ERROR: 0:141: '#define' : names beginning with "GL_" can't be defined: GL_
|
||||
ERROR: 0:142: '#define' : names beginning with "GL_" can't be defined: GL_Macro
|
||||
ERROR: 0:141: '#define' : names beginning with "GL_" can't be (un)defined: GL_
|
||||
ERROR: 0:142: '#define' : names beginning with "GL_" can't be (un)defined: GL_Macro
|
||||
WARNING: 0:143: '#define' : names containing consecutive underscores are reserved: __M
|
||||
WARNING: 0:144: '#define' : names containing consecutive underscores are reserved: M__
|
||||
WARNING: 0:145: '#define' : names containing consecutive underscores are reserved: ABC__DE
|
||||
@@ -43,7 +43,7 @@ ERROR: 0:185: '#define' : Macro redefined; different substitutions: m7
|
||||
ERROR: 0:192: '#define' : Macro redefined; different substitutions: m8
|
||||
ERROR: 0:196: '#define' : Macro redefined; different argument names: m9
|
||||
WARNING: 0:204: '#undef' : names containing consecutive underscores are reserved: __VERSION__
|
||||
ERROR: 0:205: '#undef' : names beginning with "GL_" can't be defined: GL_ARB_texture_rectangle
|
||||
ERROR: 0:205: '#undef' : names beginning with "GL_" can't be (un)defined: GL_ARB_texture_rectangle
|
||||
ERROR: 0:210: '#' : invalid directive
|
||||
ERROR: 0:211: '#' : invalid directive
|
||||
ERROR: 0:212: '#' : invalid directive
|
||||
|
||||
Reference in New Issue
Block a user