AS rebuilds are considered successful and shouldn't throw an error

This commit is contained in:
baldurk
2024-04-16 12:16:49 +01:00
parent b2d07cb56e
commit e0327b6c60
@@ -1036,6 +1036,11 @@ void WrappedID3D12GraphicsCommandList::BuildRaytracingAccelerationStructure(
asbWrappedResource->DeleteAccStructAtOffset(asbWrappedResourceBufferOffset);
createAccStruct = true;
}
else
{
// if the AS is being rebuilt in place, that's also successful
success = true;
}
}
else
{