diff --git a/DEPS b/DEPS index 01ee7cc461..e4e5bed369 100644 --- a/DEPS +++ b/DEPS @@ -14,7 +14,7 @@ vars = { 're2_revision': '972a15cedd008d846f1a39b2e88ce48d7f166cbd', - 'spirv_headers_revision': '8c5559c134abcf432ec59db842404087b9906c1a', + 'spirv_headers_revision': '3a6a304f03faf5bec1c9483bf01ba5b3879695c2', 'mimalloc_revision': 'fef6b0dd70f9d7fa0750b0d0b9fbb471203b94cd', } 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.