1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-30 04:24:11 +01:00

[d3d11] Enable initial buffer uploads over SDMA

This commit is contained in:
Philip Rebohle 2019-06-28 19:02:11 +02:00
parent d5c0a8c842
commit 9d902418c0
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;