SPV: only declare the pure 8/16-bit capabilities when needed.
authorJohn Kessenich <cepheus@frii.com>
Wed, 15 Aug 2018 19:54:09 +0000 (13:54 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 16 Aug 2018 21:54:21 +0000 (15:54 -0600)
commit31aa3d6019945f9efdddcec05a5cbda22c983b6a
tree9dff66d550c1075c59ee2dddf346ee5f9e06c068
parent149afc39301967700cf8df0acb45bc69910e0e9b
SPV: only declare the pure 8/16-bit capabilities when needed.

Only when operations stray outside the 8/16-bit storage-capabilities
are the general (pure 8/16-bit) capabilities needed.
SPIRV/GlslangToSpv.cpp
SPIRV/SpvBuilder.cpp
SPIRV/SpvBuilder.h
SPIRV/SpvPostProcess.cpp
SPIRV/spvIR.h
Test/baseResults/spv.16bitstorage-int.frag.out
Test/baseResults/spv.16bitstorage-uint.frag.out
Test/baseResults/spv.16bitstorage.frag.out
Test/baseResults/spv.8bitstorage-int.frag.out
Test/baseResults/spv.8bitstorage-uint.frag.out