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.
This commit is contained in:
David Neto
2018-03-05 13:34:13 -05:00
committed by Lei Zhang
parent c7f0433b9e
commit 05a293d6d5
8 changed files with 121 additions and 50 deletions
+2
View File
@@ -330,6 +330,8 @@ bool spvOpcodeIsDecoration(const SpvOp opcode) {
case SpvOpMemberDecorate:
case SpvOpGroupDecorate:
case SpvOpGroupMemberDecorate:
case SpvOpDecorateStringGOOGLE:
case SpvOpMemberDecorateStringGOOGLE:
return true;
default:
break;