Support SPV_GOOGLE_decorate_string and SPV_GOOGLE_hlsl_functionality1
authorDavid Neto <dneto@google.com>
Mon, 5 Mar 2018 18:34:13 +0000 (13:34 -0500)
committerLei Zhang <antiagainst@google.com>
Mon, 5 Mar 2018 18:34:13 +0000 (13:34 -0500)
commit5f69f7512695bd7b26f83ed9872be45159a46cf6
tree7f8b95f46f24025e89db09829ccff34a06ae8ef0
parent9ba50e34f26cac5e6baf19cef2b646c66f4db025
Support SPV_GOOGLE_decorate_string and SPV_GOOGLE_hlsl_functionality1

This commit add assembling, disassembling, and basic validation for two
Google extensions to better support HLSL translation.
source/opcode.cpp
source/operand.cpp
source/opt/reflect.h
source/val/validation_state.cpp
test/enum_string_mapping_test.cpp
test/text_to_binary.extension_test.cpp
test/val/val_extensions_test.cpp
utils/generate_grammar_tables.py