From 9d902418c09c2dc6b86f78e5848a3c79e1bd3daf Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 28 Jun 2019 19:02:11 +0200 Subject: [PATCH] [d3d11] Enable initial buffer uploads over SDMA --- src/d3d11/d3d11_initializer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/d3d11/d3d11_initializer.cpp b/src/d3d11/d3d11_initializer.cpp index b9b3eda4..68f0b1a1 100644 --- a/src/d3d11/d3d11_initializer.cpp +++ b/src/d3d11/d3d11_initializer.cpp @@ -60,10 +60,8 @@ namespace dxvk { m_transferMemory += bufferSlice.length(); m_transferCommands += 1; - m_context->updateBuffer( + m_context->uploadBuffer( bufferSlice.buffer(), - bufferSlice.offset(), - bufferSlice.length(), pInitialData->pSysMem); } else { m_transferCommands += 1;