mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
AS rebuilds are considered successful and shouldn't throw an error
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user