From cb6f3f746efd52c9ed3a811bf81e7cb21e950602 Mon Sep 17 00:00:00 2001 From: Wooyoung Kim Date: Fri, 3 Jul 2026 11:25:34 -0700 Subject: [PATCH] SPV_QCOM_multiple_wait_queues support --- source/val/validate_cfg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/val/validate_cfg.cpp b/source/val/validate_cfg.cpp index 679e1d91e9..a4d2a66322 100644 --- a/source/val/validate_cfg.cpp +++ b/source/val/validate_cfg.cpp @@ -345,6 +345,9 @@ spv_result_t ValidateLoopMerge(ValidationState_t& _, const Instruction* inst) { if ((loop_control >> spv::LoopControlShift::PartialCount) & 0x1) { ++operand; } + if ((loop_control >> spv::LoopControlShift::MultipleWaitQueuesQCOM) & 0x1) { + ++operand; + } // That the right number of operands is present is checked by the parser. The // above code tracks operands for expanded validation checking in the future.