mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Fix calculation of OOB bounds on vulkan
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
void GPUAddressRangeTracker::AddTo(const GPUAddressRange &range)
|
||||
{
|
||||
RDCASSERT(range.oobEnd >= range.realEnd);
|
||||
|
||||
SCOPED_WRITELOCK(addressLock);
|
||||
|
||||
// insert ranges ordered by start first, then by size. Ranges with different sizes starting at the
|
||||
|
||||
@@ -743,7 +743,7 @@ VkResult WrappedVulkan::vkAllocateMemory(VkDevice device, const VkMemoryAllocate
|
||||
|
||||
record->AddChunk(chunk);
|
||||
|
||||
record->Length = memSize;
|
||||
record->memSize = record->Length = memSize;
|
||||
|
||||
uint32_t memProps =
|
||||
m_PhysicalDeviceData.memProps.memoryTypes[info.memoryTypeIndex].propertyFlags;
|
||||
|
||||
Reference in New Issue
Block a user