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:
@@ -161,6 +161,15 @@ float c = foobar(1.1, 2.2
|
||||
|
||||
#line 3000
|
||||
#error line of this error should be 3000
|
||||
|
||||
#define __LINE__ 30
|
||||
#define __FILE__
|
||||
#define __VERSION__
|
||||
#define GL_SOME_EXTENSION
|
||||
#undef __LINE__
|
||||
#undef __FILE__
|
||||
#undef __VERSION__
|
||||
#undef GL_SOME_EXTENSION
|
||||
|
||||
#line 10000
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user