glslang-zig/glslang/MachineIndependent
qining 19647a32b9 Fix the infinite loop when an input file lacks EOF
The input scanner can be trapped in an infinite loop if the given input
file does not have EOF (and is not ended with a 'whitespace').

The problem is caused by unget(), which keeps rolling back the scanner
pointer without hitting an EOF at the end of the file. This makes getch()
function keep returning the last character of the file and never ends,
and the effect of advance() is always counteracted by unget().
2016-04-27 10:05:57 -04:00
..
preprocessor Merge branch 'master' into hlsl-frontend 2016-04-03 20:36:48 -06:00
Constant.cpp Fix warnings/errors for strict aliasing & function prototypes 2016-02-23 12:17:11 -05:00
gl_types.h Second round line ending clean up, from fresh round trip. 2015-06-26 16:42:50 -06:00
glslang.y SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
glslang_tab.cpp Commit bison-generated files from Windows GNU Bison 2.7 2016-02-28 09:15:31 +01:00
glslang_tab.cpp.h Commit bison-generated files from Windows GNU Bison 2.7 2016-02-28 09:15:31 +01: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 SPV for OpenGL: Issue #229: don't allow gl_VertexIndex or gl_InstanceIndex under -G. 2016-04-12 18:35:12 -06:00
Initialize.h SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
Intermediate.cpp Front-end: Get the right set of nodes marked as spec-const. 2016-04-06 13:32:44 -06:00
intermOut.cpp Front-end: Add specialization-constant subtrees for const variables/symbols. 2016-03-20 16:46:00 -06:00
IntermTraverse.cpp SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
limits.cpp Array of Array prep: Turn a batch of 0's into nullptr or UnsizedArraySize. 2015-08-09 18:15:25 -06:00
linkValidate.cpp HLSL: Plumb in HLSL parse context and keywords, and most basic HLSL parser and test. 2016-03-12 21:40:08 -07:00
localintermediate.h Memory: Don't use pool memory to store the entry point name in the intermediate representation. 2016-04-06 19:03:15 -06:00
parseConst.cpp glslang: Fix over 100 warnings from MSVC warning level 4. 2015-05-15 17:30:55 +00:00
ParseHelper.cpp Memory: Don't use pool memory to store the entry point name in the intermediate representation. 2016-04-06 19:03:15 -06:00
ParseHelper.h Refactor TParseContext into 3 level inheritance. 2016-03-12 19:08:55 -07:00
parseVersions.h Refactor TParseContext into 3 level inheritance. 2016-03-12 19:08:55 -07:00
PoolAlloc.cpp Support compilation via MinGW 2016-03-16 15:41:31 -04:00
reflection.cpp SPV: Fix array strides by explicitly computing them in the getBaseAlignment() algorithm. 2015-12-29 19:20:55 -07: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 Fix warnings/errors for strict aliasing & function prototypes 2016-02-23 12:17:11 -05:00
Scan.h Fix the infinite loop when an input file lacks EOF 2016-04-27 10:05:57 -04:00
ScanContext.h Refactor TParseContext into 3 level inheritance. 2016-03-12 19:08:55 -07:00
ShaderLang.cpp Merge branch 'master' into hlsl-frontend 2016-04-03 20:36:48 -06:00
SymbolTable.cpp Front-end: Add specialization-constant subtrees for const variables/symbols. 2016-03-20 16:46:00 -06:00
SymbolTable.h Front-end: Add specialization-constant subtrees for const variables/symbols. 2016-03-20 16:46:00 -06:00
Versions.cpp Refactor TParseContext into 3 level inheritance. 2016-03-12 19:08:55 -07:00
Versions.h SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00