Non-Functional: Add postprocess as more robust way to add capabilities
authorJohn Kessenich <cepheus@frii.com>
Fri, 3 Aug 2018 21:56:12 +0000 (15:56 -0600)
committerJohn Kessenich <cepheus@frii.com>
Fri, 3 Aug 2018 21:56:12 +0000 (15:56 -0600)
commitf04c51b3bdf6510d79b29b28046fec6aa485d197
treed8f4b311596f022b596674d123e944c66baad0f6
parente99a26810f65314183163c07664a40e05647c15f
Non-Functional: Add postprocess as more robust way to add capabilities

When capabilities are needed for specific SPIR-V instructions, it is
fragile to do so based on GLSL/AST usage; it should be based on actual
instructions they got translated to.
SPIRV/CMakeLists.txt
SPIRV/GlslangToSpv.cpp
SPIRV/SpvBuilder.cpp
SPIRV/SpvBuilder.h
SPIRV/SpvPostProcess.cpp [new file with mode: 0755]