mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour.
This commit is contained in:
1 parent
2ae2dd7d40
commit
c60c8ed68a
18 files changed
+168
-15
No files matched your search
@@ -652,8 +652,7 @@ enum class TextureState {
|
||||
|
||||
bool VKTexture::Create(VkCommandBuffer cmd, const TextureDesc &desc, VulkanDeviceAllocator *alloc) {
|
||||
// Zero-sized textures not allowed.
|
||||
if (desc.width * desc.height * desc.depth == 0)
|
||||
return false;
|
||||
assert(desc.width * desc.height * desc.depth > 0);
|
||||
format_ = desc.format;
|
||||
mipLevels_ = desc.mipLevels;
|
||||
width_ = desc.width;
|
||||
|
||||
Reference in new issue
Block a user