From 9bcc9df3ddb9e9e0ffd18d95b5995e0dce46bb7d Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Wed, 22 Jun 2022 16:44:39 +0800 Subject: [PATCH] temporarily disable dslayout deferred validation (#11648) --- .../renderer/gfx-validator/DescriptorSetLayoutValidator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp index 2c74b3cb91..de32db9a9e 100644 --- a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp @@ -90,7 +90,7 @@ void DescriptorSetLayoutValidator::doInit(const DescriptorSetLayoutInfo &info) { */ uint32_t type{DESCRIPTOR_TYPE_ORDERS[utils::getBitPosition(toNumber(binding.descriptorType))]}; // deffered pipeline issue: https://github.com/cocos/cocos-engine/pull/10701 - CC_ASSERT(lastType <= type); + // CC_ASSERT(lastType <= type); lastType = type; ++_typeCounts[type]; }