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:
parent
ff41a5ab12
commit
84317f913a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user