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>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AST.FromFile.cpp | Loading commit data... | |
| BuiltInResource.FromFile.cpp | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| Config.FromFile.cpp | Loading commit data... | |
| HexFloat.cpp | Loading commit data... | |
| Hlsl.FromFile.cpp | Loading commit data... | |
| Initializer.h | Loading commit data... | |
| Link.FromFile.Vk.cpp | Loading commit data... | |
| Link.FromFile.cpp | Loading commit data... | |
| Pp.FromFile.cpp | Loading commit data... | |
| README.md | Loading commit data... | |
| Remap.FromFile.cpp | Loading commit data... | |
| Settings.cpp | Loading commit data... | |
| Settings.h | Loading commit data... | |
| Spv.FromFile.cpp | Loading commit data... | |
| TestFixture.cpp | Loading commit data... | |
| TestFixture.h | Loading commit data... | |
| main.cpp | Loading commit data... | |
| pch.cpp | Loading commit data... | |
| pch.h | Loading commit data... |