diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index ff48e1755..4ea4c4f86 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -7601,8 +7601,10 @@ namespace dxvk { Rc DxvkContext::createZeroBuffer( VkDeviceSize size) { - if (m_zeroBuffer != nullptr && m_zeroBuffer->info().size >= size) + if (m_zeroBuffer && m_zeroBuffer->info().size >= size) { + m_cmd->track(m_zeroBuffer, DxvkAccess::Read); return m_zeroBuffer; + } DxvkBufferCreateInfo bufInfo; bufInfo.size = align(size, 1 << 20);