Skip to content

Commit 114d39f

Browse files
authored
SPV_QCOM_multiple_wait_queues (KhronosGroup#6671)
1 parent 62fee34 commit 114d39f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

source/val/validate_cfg.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ spv_result_t ValidateLoopMerge(ValidationState_t& _, const Instruction* inst) {
345345
if ((loop_control >> spv::LoopControlShift::PartialCount) & 0x1) {
346346
++operand;
347347
}
348+
if ((loop_control >> spv::LoopControlShift::MultipleWaitQueuesQCOM) & 0x1) {
349+
++operand;
350+
}
348351

349352
// That the right number of operands is present is checked by the parser. The
350353
// above code tracks operands for expanded validation checking in the future.

0 commit comments

Comments
 (0)