Eliminate flex as the GLSL lexical analyzer, going from two nested lexical...
Eliminate flex as the GLSL lexical analyzer, going from two nested lexical analyzers down to one, leaving just the preprocessor's lexical analysis. A new layer replaces it, to translate from the preprocessor's view of tokenization to glslang's view of tokenization. Also: - change source locations from an int to TSourceLoc (shader number, line number) throughout - various improvements to the preprocessor git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22277 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Showing
- Test/cppSimple.vert 4 additions, 0 deletionsTest/cppSimple.vert
- Test/lineContinuation.vert 7 additions, 1 deletionTest/lineContinuation.vert
- Test/tokenLength.vert 4 additions, 4 deletionsTest/tokenLength.vert
- glslang.vcxproj 1 addition, 19 deletionsglslang.vcxproj
- glslang.vcxproj.filters 3 additions, 9 deletionsglslang.vcxproj.filters
- glslang/Include/Common.h 4 additions, 21 deletionsglslang/Include/Common.h
- glslang/Include/InfoSink.h 4 additions, 1 deletionglslang/Include/InfoSink.h
- glslang/Include/Types.h 12 additions, 12 deletionsglslang/Include/Types.h
- glslang/Include/intermediate.h 4 additions, 4 deletionsglslang/Include/intermediate.h
- glslang/MachineIndependent/Constant.cpp 12 additions, 12 deletionsglslang/MachineIndependent/Constant.cpp
- glslang/MachineIndependent/Initialize.h 0 additions, 2 deletionsglslang/MachineIndependent/Initialize.h
- glslang/MachineIndependent/Intermediate.cpp 87 additions, 74 deletionsglslang/MachineIndependent/Intermediate.cpp
- glslang/MachineIndependent/ParseHelper.cpp 610 additions, 242 deletionsglslang/MachineIndependent/ParseHelper.cpp
- glslang/MachineIndependent/ParseHelper.h 60 additions, 60 deletionsglslang/MachineIndependent/ParseHelper.h
- glslang/MachineIndependent/Scan.cpp 812 additions, 3 deletionsglslang/MachineIndependent/Scan.cpp
- glslang/MachineIndependent/Scan.h 1 addition, 1 deletionglslang/MachineIndependent/Scan.h
- glslang/MachineIndependent/ScanContext.h 80 additions, 0 deletionsglslang/MachineIndependent/ScanContext.h
- glslang/MachineIndependent/ShaderLang.cpp 21 additions, 10 deletionsglslang/MachineIndependent/ShaderLang.cpp
- glslang/MachineIndependent/Versions.cpp 21 additions, 21 deletionsglslang/MachineIndependent/Versions.cpp
- glslang/MachineIndependent/glslang.l 0 additions, 1155 deletionsglslang/MachineIndependent/glslang.l
Loading
Please register or sign in to comment