Web: Change a bunch of HLSL methods from dynamic to compile-time known.
authorJohn Kessenich <cepheus@frii.com>
Sat, 27 Jul 2019 14:18:03 +0000 (08:18 -0600)
committerJohn Kessenich <cepheus@frii.com>
Wed, 21 Aug 2019 05:21:55 +0000 (23:21 -0600)
commitbfc21ff1a9f6e3deb76cf5e932243647398c986a
tree450dd668734c791a4a0193f19e6bc551e1f80c9b
parentd4ed5158d11d7b125aade9f3e776587471569af7
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.
Test/baseResults/size
glslang/MachineIndependent/Intermediate.cpp
glslang/MachineIndependent/ParseContextBase.cpp
glslang/MachineIndependent/ParseHelper.h
glslang/MachineIndependent/ShaderLang.cpp
glslang/MachineIndependent/iomapper.cpp
glslang/MachineIndependent/linkValidate.cpp
glslang/MachineIndependent/localintermediate.h
glslang/MachineIndependent/parseVersions.h