mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 22:43:49 +00:00
Add more info to assert
This commit is contained in:
1 parent
f00a0a8a5e
commit
949f2df9f4
1 file changed
+2
-1
@@ -381,7 +381,8 @@ VkResult WrappedVulkan::vkMapMemory(VkDevice device, VkDeviceMemory mem, VkDevic
|
||||
MemMapState &state = *memrecord->memMapState;
|
||||
|
||||
// ensure size is valid
|
||||
RDCASSERT(size == VK_WHOLE_SIZE || (size > 0 && size <= memrecord->Length));
|
||||
RDCASSERT(size == VK_WHOLE_SIZE || (size > 0 && size <= memrecord->Length), GetResID(mem),
|
||||
size, memrecord->Length);
|
||||
|
||||
state.mappedPtr = (byte *)realData - (size_t)offset;
|
||||
state.refData = NULL;
|
||||
|
||||
Reference in new issue
Block a user