- 28 Aug, 2019 1 commit
-
-
John Kessenich authored
-
- 27 Aug, 2019 3 commits
-
-
John Kessenich authored
BUILD.gn: Add missing HLSL files.
-
Corentin Wallez authored
-
John Kessenich authored
Dereference any array type before expanding root-level SSBO members
-
- 26 Aug, 2019 4 commits
-
-
John Kessenich authored
GN build (for Chromium): enable HLSL in dependents.
-
Corentin Wallez authored
The previous fix for this only enabled HLSL internally in glslang which means that dependent using HLSL, for example shaderc, failed compilation.
-
baldurk authored
If we don't do this then we get reflection output like so: ArrayedBind[0].a.a: offset 0, type 1406, size 1, index 4, binding -1, stages 0 ArrayedBind[0].a.b: offset 4, type 1406, size 1, index 4, binding -1, stages 0 ArrayedBind[0].b.a: offset 4, type 1406, size 1, index 4, binding -1, stages 0 ArrayedBind[0].b.b: offset 8, type 1406, size 1, index 4, binding -1, stages 0 ArrayedBind[0].b: offset 4, type 1406, size 1, index 4, binding -1, stages 1 When the outer reflection loop that calls blowUpActiveAggregate incorrectly iterates over the struct members.
-
John Kessenich authored
GN build (for Chromium): enable HLSL
-
- 23 Aug, 2019 1 commit
-
-
David Neto authored
-
- 22 Aug, 2019 5 commits
-
-
John Kessenich authored
-
John Kessenich authored
GLSL: Inherit memory qualifiers, both declaratively and in execution.
-
John Kessenich authored
Fixes #1870, probably others.
-
John Kessenich authored
Fix conformance with -Wextra-tokens
-
Jonah Ryan-Davis authored
-
- 21 Aug, 2019 22 commits
-
-
John Kessenich authored
-
John Kessenich authored
Web: Create a very small-footprint glslang for web use.
-
John Kessenich authored
-
John Kessenich authored
Saved about 21K, size down to 380K of MSVC x86 code. Fixed one bug that needs to be looked at on the master branch: The test for needing a Vulkan binding has a bug in it, "!layoutAttachment" which does not mean "no layoutAttachment", because that is non-zero. This is why some test and test results changed.
-
John Kessenich authored
added a few more HLSL flag tests. This was mostly focused on the SPV generator. Saves about 17K.
-
John Kessenich authored
Saves about 6.5K
-
John Kessenich authored
Saves 2.5K, and design is better.
-
John Kessenich authored
Saves another 20K.
-
John Kessenich authored
This saves another 40K of x86 binary, which is about 13% of the target size.
-
John Kessenich authored
Saves about 9K.
-
John Kessenich authored
-
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
-