From 3e52dd915da171ec38ae53ca66d00fdc5393a416 Mon Sep 17 00:00:00 2001 From: David Neto Date: Wed, 23 Sep 2015 10:16:39 -0400 Subject: [PATCH] Support ExecutionMode IndependentForwardProgress --- source/operand.cpp | 5 +++++ test/TextToBinary.ModeSetting.cpp | 1 + 2 files changed, 6 insertions(+) diff --git a/source/operand.cpp b/source/operand.cpp index d1e74882f..1b995c414 100644 --- a/source/operand.cpp +++ b/source/operand.cpp @@ -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[] = { diff --git a/test/TextToBinary.ModeSetting.cpp b/test/TextToBinary.ModeSetting.cpp index 28323450f..d94388d53 100644 --- a/test/TextToBinary.ModeSetting.cpp +++ b/test/TextToBinary.ModeSetting.cpp @@ -193,6 +193,7 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryExecutionMode, OpExecutionModeTest, {CASE(OutputTriangleStrip), {}}, {CASE(VecTypeHint), {96}}, {CASE(ContractionOff), {}}, + {CASE(IndependentForwardProgress), {}}, })); #undef CASE // clang-format on