mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Don't assert on empty geometry list in BLAS if there should be no geoms
This commit is contained in:
@@ -685,7 +685,10 @@ void VulkanAccelerationStructureManager::Apply(ResourceId id, VkInitialContents
|
||||
rdcarray<VkAccelerationStructureBuildRangeInfoKHR> buildRangeInfos = asInfo->getBuildRanges();
|
||||
rdcarray<VkAccelerationStructureGeometryKHR> geometry;
|
||||
asInfo->convertGeometryData(geometry);
|
||||
RDCASSERT(!geometry.empty());
|
||||
if(!asInfo->geometryData.empty())
|
||||
{
|
||||
RDCASSERT(!geometry.empty());
|
||||
}
|
||||
RDCASSERT(asInfo->geometryData.size() == geometry.size());
|
||||
|
||||
// Copy over the input data from the upload mem to GPU local to increase build speed
|
||||
|
||||
Reference in New Issue
Block a user