Set debug names for more framebuffers and textures

This commit is contained in:
Henrik Rydgård committed 2020-08-09 09:36:54 +02:00
1 parent 2f5de1987e
commit fbf6008a03
11 files changed
+29 -14

No files matched your search

+1 -1
View File
@@ -859,7 +859,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
}
char texName[128]{};
snprintf(texName, sizeof(texName), "Texture%08x", entry->addr);
snprintf(texName, sizeof(texName), "texture_%08x_%s", entry->addr, GeTextureFormatToString((GETextureFormat)entry->format));
image->SetTag(texName);
bool allocSuccess = image->CreateDirect(cmdInit, allocator_, w * scaleFactor, h * scaleFactor, maxLevel + 1, actualFmt, imageLayout, usage, mapping);