glslang-zig/glslang
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
..
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Include Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
MachineIndependent Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
OSDependent Port Unix/ossource.cpp to Fuchsia 2019-01-30 15:15:11 -05:00
Public Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
CMakeLists.txt Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00
glslang.js.cpp convert_glsl_to_spirv: fail early, reduce copies, remove input buffer allocation 2019-08-20 13:29:14 -07:00
glslang.pre.js convert_glsl_to_spirv: fail early, reduce copies, remove input buffer allocation 2019-08-20 13:29:14 -07:00
updateGrammar Web: Prune grammar and lexor down to needed subset. 2019-08-20 23:21:55 -06:00