[dxvk] Don't redundantly update image debug names

This commit is contained in:
Philip Rebohle 2025-01-13 00:13:38 +01:00
parent 898fb05f05
commit 4afaeab7d0

View file

@ -216,6 +216,9 @@ namespace dxvk {
if (m_storage != old) { if (m_storage != old) {
m_imageInfo = m_storage->getImageInfo(); m_imageInfo = m_storage->getImageInfo();
m_version += 1u; m_version += 1u;
if (unlikely(m_info.debugName))
updateDebugName();
} }
m_info.flags |= usageInfo.flags; m_info.flags |= usageInfo.flags;
@ -239,9 +242,6 @@ namespace dxvk {
m_info.viewFormats = m_viewFormats.data(); m_info.viewFormats = m_viewFormats.data();
} }
if (unlikely(m_info.debugName))
updateDebugName();
m_stableAddress |= usageInfo.stableGpuAddress; m_stableAddress |= usageInfo.stableGpuAddress;
return old; return old;
} }