glslang-zig/glslang
Shahbaz Youssefi 8c49d15fbf
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-08 15:33:20 -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 Merge pull request #2268 from lriki/hlsl-pack_matrix 2020-07-02 05:21:45 -06:00
Include Bump revision. 2020-07-02 05:02:17 -06:00
MachineIndependent Use GLSLANG_ANGLE to strip features to what ANGLE requires 2020-07-08 15:33:20 -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-08 15:33:20 -04:00
CMakeLists.txt License headers: s/Google/The Khronos Group 2020-07-03 12:21:01 +01:00
updateGrammar License headers: s/Google/The Khronos Group 2020-07-03 12:21:01 +01:00