John Kessenich
e66dace97e
Web: First pass of tabling the built-in function declarations.
...
Doing this much saved about 11.5K, including adding all the infrastructure.
2019-08-20 23:21:55 -06:00
John Kessenich
23d27751e8
Web: Selectively remove a few key features, using #ifndef GLSLANG_WEB
...
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.
2019-08-20 23:21:55 -06:00
John Kessenich
bfc21ff1a9
Web: Change a bunch of HLSL methods from dynamic to compile-time known.
...
This saves about 7K.
By changing just a few methods to be compile-time known, a bunch of
scattered code becomes DCE.
2019-08-20 23:21:55 -06:00
John Kessenich
d4ed5158d1
Web: Remove a few additional HLSL constructs with ENABLE_HLSL.
...
Saves about 3K.
2019-08-20 23:21:55 -06:00
John Kessenich
13761069b5
Web: Add sanity check test suite for smaller-footprint builds.
...
For the smallest builds, google tests will not be present, in
addition to a large number of tests not being capable of running.
2019-08-20 23:21:55 -06:00