Support ExecutionMode IndependentForwardProgress

This commit is contained in:
David Neto 2015-09-23 10:16:39 -04:00
Родитель 16df562ad3
Коммит 3e52dd915d
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -291,6 +291,11 @@ static const spv_operand_desc_t executionModeEntries[] = {
SPV_OPCODE_FLAGS_CAPABILITIES, SPV_OPCODE_FLAGS_CAPABILITIES,
CapabilityKernel, CapabilityKernel,
{SPV_OPERAND_TYPE_NONE}}, {SPV_OPERAND_TYPE_NONE}},
{"IndependentForwardProgress",
ExecutionModeIndependentForwardProgress,
SPV_OPCODE_FLAGS_CAPABILITIES,
CapabilityKernel,
{SPV_OPERAND_TYPE_NONE}},
}; };
static const spv_operand_desc_t storageClassEntries[] = { static const spv_operand_desc_t storageClassEntries[] = {

Просмотреть файл

@ -193,6 +193,7 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryExecutionMode, OpExecutionModeTest,
{CASE(OutputTriangleStrip), {}}, {CASE(OutputTriangleStrip), {}},
{CASE(VecTypeHint), {96}}, {CASE(VecTypeHint), {96}},
{CASE(ContractionOff), {}}, {CASE(ContractionOff), {}},
{CASE(IndependentForwardProgress), {}},
})); }));
#undef CASE #undef CASE
// clang-format on // clang-format on