Support ExecutionMode IndependentForwardProgress
authorDavid Neto <dneto@google.com>
Wed, 23 Sep 2015 14:16:39 +0000 (10:16 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000 (12:55 -0400)
source/operand.cpp
test/TextToBinary.ModeSetting.cpp

index d1e7488..1b995c4 100644 (file)
@@ -291,6 +291,11 @@ static const spv_operand_desc_t executionModeEntries[] = {
      SPV_OPCODE_FLAGS_CAPABILITIES,
      CapabilityKernel,
      {SPV_OPERAND_TYPE_NONE}},
+    {"IndependentForwardProgress",
+     ExecutionModeIndependentForwardProgress,
+     SPV_OPCODE_FLAGS_CAPABILITIES,
+     CapabilityKernel,
+     {SPV_OPERAND_TYPE_NONE}},
 };
 
 static const spv_operand_desc_t storageClassEntries[] = {
index 2832345..d94388d 100644 (file)
@@ -193,6 +193,7 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryExecutionMode, OpExecutionModeTest,
                             {CASE(OutputTriangleStrip), {}},
                             {CASE(VecTypeHint), {96}},
                             {CASE(ContractionOff), {}},
+                            {CASE(IndependentForwardProgress), {}},
                         }));
 #undef CASE
 // clang-format on