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:
parent
ef9c8ab207
commit
66cdf36521
8 changed files with 12 additions and 7 deletions
|
|
@ -208,6 +208,7 @@ protected:
|
|||
|
||||
InputSrc *currentInput;
|
||||
bool errorOnVersion;
|
||||
bool versionSeen;
|
||||
|
||||
//
|
||||
// from Pp.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue