glslang-zig/glslang
Shahbaz Youssefi 1ef2e250fc
Use GLSLANG_ANGLE to strip features to what ANGLE requires
This change strips a few features similar to GLSLANG_WEB but doesn't
remove every detail like the latter.  It also hardcodes profile/version
to core/450.

In particular, TBuiltIns::initialize is specialized to remove most of
what is not supported or won't be supported by ANGLE.  The result of
this function is parsed with TParseContext::parseShaderStrings which is
a performance bottleneck.

This change shaves about 300KB off of ANGLE's binary size and reduces
the cost of SetupBuiltinSymbolTable to nearly a sixth.

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
2020-07-31 12:44:49 -04:00
..
CInterface C Interface: Split SPIR-V C interface to own file 2020-06-15 13:22:19 +01:00
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
HLSL Use CMake's builtin functionality for PCHs 2020-07-07 16:44:19 +01:00
Include Simplify PoolAlloc with use of thread_local. 2020-07-21 09:40:34 +01:00
MachineIndependent Use GLSLANG_ANGLE to strip features to what ANGLE requires 2020-07-31 12:44:49 -04:00
OSDependent License headers: s/Google/The Khronos Group 2020-07-03 12:21:01 +01:00
Public Use GLSLANG_ANGLE to strip features to what ANGLE requires 2020-07-31 12:44:49 -04:00
CMakeLists.txt Limit visibility of symbols for internal libraries 2020-07-22 10:53:50 +01:00
updateGrammar Revert "Merge pull request #2330 from ShabbyX/optimize_for_angle" 2020-07-13 03:39:08 -06:00