Support SPV_KHR_8bit_storagegitlab-spv-khr-8bit-storage
commita9d32682334f15efe4a95929134db35d23b138b4
authorDavid Neto <dneto@google.com>
Fri, 1 Jun 2018 19:19:11 +0000 (1 15:19 -0400)
committerDavid Neto <dneto@google.com>
Wed, 20 Jun 2018 17:57:25 +0000 (20 13:57 -0400)
tree7a676ee6fe176b786ba81bf4b9ea1f0eed1c55db
parent8d65c89678b8136102405db10a0814118db016d2
Support SPV_KHR_8bit_storage

- Add asm/dis test for SPV_KHR_8bit_storage
- validator: SPV_KHR_8bit_storage capabilities enable declaration of 8bit int

TODO:
- validator: ban arithmetic on 8bit unless Int8 is enabled
  Covered by https://github.com/KhronosGroup/SPIRV-Tools/issues/1595
source/val/validation_state.cpp
source/val/validation_state.h
source/validate_datarules.cpp
test/enum_string_mapping_test.cpp
test/text_to_binary.extension_test.cpp
test/val/val_data_test.cpp