SPIR-V postprocessing: WEB case only needs CFG mods
authorDavid Neto <dneto@google.com>
Thu, 7 Nov 2019 22:55:22 +0000 (17:55 -0500)
committerDavid Neto <dneto@google.com>
Thu, 7 Nov 2019 22:55:22 +0000 (17:55 -0500)
commite43e8ba9f385edc4a7f3255635f8fdb69a06de32
tree7210c7967f7392f4fcb56dd169ca0de9b13434d6
parente471df3c9154afbf125838201d2cd36cd6bdc708
SPIR-V postprocessing: WEB case only needs CFG mods

The SPIR-V post-processing to discover capabilities and
extensions does not apply to WebGPU compilation.  So don't include
that code.

This reclaims some of the code space added by #1943
SPIRV/SpvBuilder.h
SPIRV/SpvPostProcess.cpp