1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 10:24:12 +01:00

[d3d11] Enable initial image uploads over SDMA

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

View File

@ -136,10 +136,8 @@ namespace dxvk {
image->info().format, mipLevelExtent);
if (formatInfo->aspectMask != (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) {
m_context->updateImage(
m_context->uploadImage(
image, subresourceLayers,
mipLevelOffset,
mipLevelExtent,
pInitialData[id].pSysMem,
pInitialData[id].SysMemPitch,
pInitialData[id].SysMemSlicePitch);