mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
Additional logging
This commit is contained in:
1 parent
c8e5dd325a
commit
46585a5da9
4 files changed
+16
-1
No files matched your search
@@ -191,8 +191,8 @@ size_t VulkanDeviceAllocator::Allocate(const VkMemoryRequirements &reqs, VkDevic
|
||||
assert(!destroyed_);
|
||||
uint32_t memoryTypeIndex;
|
||||
bool pass = vulkan_->MemoryTypeFromProperties(reqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, &memoryTypeIndex);
|
||||
assert(pass);
|
||||
if (!pass) {
|
||||
ELOG("Failed to pick an appropriate memory type (req: %08x)", reqs.memoryTypeBits);
|
||||
return ALLOCATE_FAILED;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user