- 21 Aug, 2019 11 commits
-
-
John Kessenich authored
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.
-
John Kessenich authored
About 50 fewer #ifdefs. About 14K smaller. Note, the base size is ill-defined due to optimizer settings (size vs. performance), compression, and target architecture. Some recent %'s are accidentally reported as 3X the real savings. Early %'s were accurate. What matters though is that each step got worthwhile gains, and what the final size ends up being.
-
John Kessenich authored
-
John Kessenich authored
Focus was on the front end (not SPIR-V), minus the grammar. Reduces #ifdef count by around 320 and makes the web build 270K smaller, which is about 90% the target size. The grammar and scanner will be another step, as will the SPIR-V backend. This makes heavy use of methods #ifdef'd to return false as a global way of turning off code, relying on C++ DCE to do the rest.
-
John Kessenich authored
Doing this much saved about 11.5K, including adding all the infrastructure.
-
John Kessenich authored
Save about 100K. N.B.: This is done by eliminating a function call, at a high level, not by #ifdef'ing a bunch of code. Also, removed no longer needed *_EXTENSION #ifdef in the code not needed by GLSLANG_WEB.
-
John Kessenich authored
This saves about 7K. By changing just a few methods to be compile-time known, a bunch of scattered code becomes DCE.
-
John Kessenich authored
Saves about 3K.
-
John Kessenich authored
For the smallest builds, google tests will not be present, in addition to a large number of tests not being capable of running.
-
John Kessenich authored
make glslang.js easy to use and work on node, and related changes
-
John Kessenich authored
-
- 20 Aug, 2019 3 commits
-
-
Kai Ninomiya authored
-
Kai Ninomiya authored
-
Kai Ninomiya authored
-
- 15 Aug, 2019 1 commit
-
-
John Kessenich authored
-
- 10 Aug, 2019 1 commit
-
-
John Kessenich authored
Add WASM build target for Web version of glslang
-
- 09 Aug, 2019 3 commits
-
-
Ryan Harrison authored
-
Ryan Harrison authored
-
Ryan Harrison authored
-
- 08 Aug, 2019 1 commit
-
-
Ryan Harrison authored
This adds build rules to support generating a WASM binary to be used on the web. The API exposed to web applications is definated in the new glslang.js.cpp file.
-
- 02 Aug, 2019 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
Add in header for uint32_t definition
-
- 01 Aug, 2019 1 commit
-
-
Ryan Harrison authored
This is needed for stricter/newer MSVC builds of downstream users.
-
- 31 Jul, 2019 1 commit
-
-
John Kessenich authored
Convert no RTTI rule to be compiler specific
-
- 30 Jul, 2019 1 commit
-
-
Ryan Harrison authored
MSVC uses a different flag for disabling RTTI, so is currently including RTTI information and throwing warnings.
-
- 29 Jul, 2019 3 commits
-
-
John Kessenich authored
Automapping opengl location
-
John Kessenich authored
Handle SPIR-V type mismatch when constructing a composite
-
John Kessenich authored
Fix bug in printing trailing comma when dumping AST for a structure.
-
- 28 Jul, 2019 2 commits
- 25 Jul, 2019 4 commits
-
-
Canon lee authored
Sync code from KhronosGroup/glslang.
-
John Kessenich authored
Remove execute permission from LICENSE.txt
-
Steven Perron authored
-
Roy authored
-
- 23 Jul, 2019 3 commits
-
-
John Kessenich authored
This reverts commit 50ada66c, reversing changes made to 3464b6f5.
-
John Kessenich authored
Automapping opengl location
-
John Kessenich authored
Fix missing decoration and bug in member remap
-
- 22 Jul, 2019 3 commits
-
-
Ashwin Lele authored
control shaders. Fix bug in member remapping.
-
John Kessenich authored
-
John Kessenich authored
Update spirv-tools and spirv-headers known good.
-