diff options
author | David Neto <dneto@google.com> | 2018-03-05 13:34:13 -0500 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2018-03-05 13:34:13 -0500 |
commit | 5f69f7512695bd7b26f83ed9872be45159a46cf6 (patch) | |
tree | 7f8b95f46f24025e89db09829ccff34a06ae8ef0 /source/val | |
parent | 9ba50e34f26cac5e6baf19cef2b646c66f4db025 (diff) |
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.
Diffstat (limited to 'source/val')
-rw-r--r-- | source/val/validation_state.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/val/validation_state.cpp b/source/val/validation_state.cpp index ed4cd70f..36bfbc2c 100644 --- a/source/val/validation_state.cpp +++ b/source/val/validation_state.cpp @@ -73,6 +73,9 @@ bool IsInstructionInLayoutSection(ModuleLayoutSection layout, SpvOp op) { case SpvOpGroupDecorate: case SpvOpGroupMemberDecorate: case SpvOpDecorationGroup: + case SpvOpDecorateId: + case SpvOpDecorateStringGOOGLE: + case SpvOpMemberDecorateStringGOOGLE: out = true; break; default: break; |