diff --git a/src/nbl/video/CVulkanLogicalDevice.cpp b/src/nbl/video/CVulkanLogicalDevice.cpp index b7eb7110c2..ff5febb4b1 100644 --- a/src/nbl/video/CVulkanLogicalDevice.cpp +++ b/src/nbl/video/CVulkanLogicalDevice.cpp @@ -745,18 +745,18 @@ void CVulkanLogicalDevice::nullifyDescriptors_impl(const std::spandescriptorCount = write.count; switch (asset::IDescriptor::GetTypeCategory(descriptorType)) { - case asset::IDescriptor::EC_BUFFER: - outWrite->pBufferInfo = reinterpret_cast(nullDescriptors.data()); - break; - case asset::IDescriptor::EC_IMAGE: - outWrite->pImageInfo = reinterpret_cast(nullDescriptors.data()); - break; - case asset::IDescriptor::EC_BUFFER_VIEW: - outWrite->pTexelBufferView = reinterpret_cast(nullDescriptors.data()); - break; - case asset::IDescriptor::EC_ACCELERATION_STRUCTURE: - outWriteAS->accelerationStructureCount = write.count; - outWriteAS->pAccelerationStructures = reinterpret_cast(nullDescriptors.data()); - break; - default: - assert(!"Invalid code path."); + case asset::IDescriptor::EC_BUFFER: + outWrite->pBufferInfo = reinterpret_cast(nullDescriptors.data()); + break; + case asset::IDescriptor::EC_IMAGE: + outWrite->pImageInfo = reinterpret_cast(nullDescriptors.data()); + break; + case asset::IDescriptor::EC_BUFFER_VIEW: + outWrite->pTexelBufferView = reinterpret_cast(nullDescriptors.data()); + break; + case asset::IDescriptor::EC_ACCELERATION_STRUCTURE: + outWriteAS->accelerationStructureCount = write.count; + outWriteAS->pAccelerationStructures = reinterpret_cast(nullDescriptors.data()); + break; + default: + assert(!"Invalid code path."); } outWrite++; }