mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-05-12 15:59:38 -06:00
Vulkan: Add tilemode to texture debug name
This commit is contained in:
parent
414aa9d6b3
commit
1baf219cb2
@ -94,7 +94,7 @@ LatteTextureVk::LatteTextureVk(class VulkanRenderer* vkRenderer, Latte::E_DIM di
|
||||
objName.objectType = VK_OBJECT_TYPE_IMAGE;
|
||||
objName.pNext = nullptr;
|
||||
objName.objectHandle = (uint64_t)vkObjTex->m_image;
|
||||
auto objNameStr = fmt::format("tex_{:08x}_fmt{:04x}", physAddress, (uint32)format);
|
||||
auto objNameStr = fmt::format("tex_{:08x}_fmt{:04x}_tm{:x}", physAddress, (uint32)format, (uint32)tileMode);
|
||||
objName.pObjectName = objNameStr.c_str();
|
||||
vkSetDebugUtilsObjectNameEXT(m_vkr->GetLogicalDevice(), &objName);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user