glslang-zig/glslang/MachineIndependent
Lei Zhang 2b4ebbb1e1 Update scanner in TParseContext when changing the input stream.
After parsing a #include directive, we push a TokenizableString
which contains the content of the included file into the input
stack. Henceforth, tokens will be read from the newly pushed
TokenizableString. However, the scanner in TParseContext still
points to the previous input stream. We need to update the scanner
to point to the new input stream inside TokenizableString. Thus,
the setCurrent{String|Line|..} method in TParseContext updates
the status of the correct input stream. After finishing the newly
pushed TokenizableString, we need to restore the scanner to the
previous input stream.
2015-07-31 19:41:19 -04:00
..
preprocessor Update scanner in TParseContext when changing the input stream. 2015-07-31 19:41:19 -04:00
Constant.cpp Use const reference for TSourceLoc in interfaces. 2015-07-28 12:45:41 -04:00
gl_types.h Second round line ending clean up, from fresh round trip. 2015-06-26 16:42:50 -06:00
glslang.y Front-end: move to rational internal array-of-array interfaces and design. (A-of-A is not yet implemented though.) 2015-07-06 21:00:03 -06:00
InfoSink.cpp Fix the few non-portable uses of "char" (where a -1 might be relevant): All uses of char are now either "int", "unsigned char" or char arrays for storing strings. Also, went to consistent "char* foo" coding convention. (There were only a few ambiguous uses.) 2014-02-18 23:37:57 +00:00
Initialize.cpp Front-end atomics: Finish adding atomic built-in functions (non-image) into the AST. 2015-07-22 19:58:15 -06:00
Initialize.h Add texture gather functions (and extension check) for GLSL 400 and GL_ARB_texture_gather. 2013-10-21 19:25:59 +00:00
Intermediate.cpp Use const reference for TSourceLoc in interfaces. 2015-07-28 12:45:41 -04:00
intermOut.cpp Front-end atomics: Finish adding atomic built-in functions (non-image) into the AST. 2015-07-22 19:58:15 -06:00
IntermTraverse.cpp glslang: Fix over 100 warnings from MSVC warning level 4. 2015-05-15 17:30:55 +00:00
limits.cpp Second round line ending clean up, from fresh round trip. 2015-06-26 16:42:50 -06:00
linkValidate.cpp Second round line ending clean up, from fresh round trip. 2015-06-26 16:42:50 -06:00
localintermediate.h Use const reference for TSourceLoc in interfaces. 2015-07-28 12:45:41 -04:00
Makefile Check in a much improved submitted set of makefiles for Linux builds. This eliminates dependencies on system headers, and generally simplifies the makefiles. 2014-02-19 01:00:58 +00:00
parseConst.cpp glslang: Fix over 100 warnings from MSVC warning level 4. 2015-05-15 17:30:55 +00:00
ParseHelper.cpp Use const reference for TSourceLoc in interfaces. 2015-07-28 12:45:41 -04:00
ParseHelper.h Update scanner in TParseContext when changing the input stream. 2015-07-31 19:41:19 -04:00
PoolAlloc.cpp Consolidate all token length limits (1024), including one bad one (80) hardcoded on the stack (issue #40, issue #41). 2015-07-25 14:02:53 -06:00
reflection.cpp Add .gitattributes and normalize a few stray file's line endings 2015-06-26 16:29:10 -06:00
reflection.h Fix g++ build break (portibility problems with stl hash). This partly turns off the stl improvements. 2015-07-20 02:06:22 -06:00
RemoveTree.cpp Improvement to the AST traversal infrastructure. 2014-01-11 19:29:55 +00:00
RemoveTree.h Put all glslang internals (but not the external interface) into the glslang namespace. 2013-08-29 00:39:25 +00:00
Scan.cpp Scanning: 1) rationalize end-of-input everywhere, 2) prevent infinite loop at end-of-input, 3) use positive chars. 2015-07-27 09:37:55 -06:00
Scan.h Add #include processing to glslang (though turned off by default). 2015-07-31 19:41:18 -04:00
ScanContext.h glslang: Fix over 100 warnings from MSVC warning level 4. 2015-05-15 17:30:55 +00:00
ShaderLang.cpp Add #include processing to glslang (though turned off by default). 2015-07-31 19:41:18 -04:00
SymbolTable.cpp Front-end: move to rational internal array-of-array interfaces and design. (A-of-A is not yet implemented though.) 2015-07-06 21:00:03 -06:00
SymbolTable.h Front-end: Implement GL_OES_gpu_shader5. 2015-07-15 19:42:59 -06:00
unistd.h Create a base GLSL front-end from the 3Dlabs glslang front-end from 20-Sep-2005. 2012-12-12 21:15:54 +00:00
Versions.cpp Use extension framework to enable #include directive. 2015-07-31 19:41:19 -04:00
Versions.h Use extension framework to enable #include directive. 2015-07-31 19:41:19 -04:00