From 9af3dce304718c4afd09b3eab3c783996797f634 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 17 Feb 2022 23:42:31 +0100 Subject: [PATCH] [dxvk] Track buffer as used in initBuffer Git ate my commit when I was testing something... --- src/dxvk/dxvk_context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index 9b1c15968..820350c09 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -1518,6 +1518,8 @@ namespace dxvk { VK_ACCESS_TRANSFER_WRITE_BIT, buffer->info().stages, buffer->info().access); + + m_cmd->trackResource(buffer); }