1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Don't redundantly update image debug names

This commit is contained in:
Philip Rebohle 2025-01-13 00:13:38 +01:00 committed by Philip Rebohle
parent ff41a5ab12
commit 84317f913a

View File

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