mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
[v3.6.0] Optimize se::Object::getPrivateData, math::IsEqualF, Vec3::transformMat4 (#12039)
This commit is contained in:
@@ -71,7 +71,7 @@ void DescriptorSetLayoutValidator::doInit(const DescriptorSetLayoutInfo &info) {
|
||||
for (const auto &binding : bindings) {
|
||||
CC_ASSERT(binding.binding != INVALID_BINDING);
|
||||
CC_ASSERT(binding.descriptorType != DescriptorType::UNKNOWN);
|
||||
CC_ASSERT(math::IsPowerOfTwo(toNumber(binding.descriptorType)));
|
||||
CC_ASSERT(math::isPowerOfTwo(toNumber(binding.descriptorType)));
|
||||
CC_ASSERT(binding.count);
|
||||
CC_ASSERT(binding.stageFlags != ShaderStageFlagBit::NONE);
|
||||
for (const Sampler *sampler : binding.immutableSamplers) {
|
||||
|
||||
Reference in New Issue
Block a user