mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-02-04 23:04:41 +01:00
vk: Persist debug name in the image wrapper to aid in debugging
This commit is contained in:
parent
d854ff03fe
commit
2e4a187145
|
|
@ -304,6 +304,8 @@ namespace vk
|
|||
|
||||
_vkSetDebugUtilsObjectNameEXT(m_device, &name_info);
|
||||
}
|
||||
|
||||
m_debug_name = name;
|
||||
}
|
||||
|
||||
image_view::image_view(VkDevice dev, VkImage image, VkImageViewType view_type, VkFormat format, VkComponentMapping mapping, VkImageSubresourceRange range)
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ namespace vk
|
|||
VkImageAspectFlags m_storage_aspect = 0;
|
||||
|
||||
rsx::format_class m_format_class = RSX_FORMAT_CLASS_UNDEFINED;
|
||||
std::string m_debug_name;
|
||||
|
||||
void validate(const vk::render_device& dev, const VkImageCreateInfo& info) const;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue