glslang-zig/glslang/MachineIndependent
John Kessenich 441b2ac4d1 Web: Prune grammar and lexor down to needed subset.
About 60K smaller (20% the target size is these units of 300K).
Over 300 fewer #ifdef.

This adds a new glslang.m4 file that needs to be processed by m4 to get
the glslang.y file needed by bison.  See comment in glslang.m4 for more
detail.

This updates the updateGrammar script to do the .m4 -> .y processing,
to conditionally exclude grammar not needed for the web build.
2019-08-20 23:21:55 -06:00
..
preprocessor Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
attribute.cpp Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
attribute.h SPV 1.4: Implement the 5 new loop controls. 2019-05-10 00:02:45 -06:00
Constant.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
gl_types.h Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
glslang.m4 Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
glslang.y Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
glslang_tab.cpp Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
glslang_tab.cpp.h Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
Initialize.h Web: First pass of tabling the built-in function declarations. 2019-08-20 23:21:55 -06:00
Intermediate.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
intermOut.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
iomapper.h Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
limits.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
linkValidate.cpp Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
LiveTraverser.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
localintermediate.h Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
parseConst.cpp HLSL: Allow empty struct initializers 2017-04-27 18:22:52 -06:00
ParseContextBase.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
ParseHelper.cpp Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
ParseHelper.h Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
parseVersions.h Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
pch.cpp Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
pch.h Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
PoolAlloc.cpp Memory: Mak full explicit destructor functionality, techincally correctly. 2017-11-21 14:32:39 -07:00
propagateNoContraction.cpp Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
propagateNoContraction.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
reflection.cpp Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
reflection.h Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
Scan.cpp Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
Scan.h SPV: Fix #1575, fix #1593: Support HLSL #line 2018-12-07 17:36:33 -07:00
ScanContext.h GL_EXT_buffer_reference 2019-01-07 12:36:13 -06:00
ShaderLang.cpp Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
SymbolTable.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
SymbolTable.h improve formating 2019-04-17 10:49:53 +02:00
Versions.cpp Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00
Versions.h Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-08-20 23:21:55 -06:00