mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[d3d11] Enable initial image uploads over SDMA
This commit is contained in:
parent
9d902418c0
commit
67122d9246
@ -136,10 +136,8 @@ namespace dxvk {
|
|||||||
image->info().format, mipLevelExtent);
|
image->info().format, mipLevelExtent);
|
||||||
|
|
||||||
if (formatInfo->aspectMask != (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) {
|
if (formatInfo->aspectMask != (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) {
|
||||||
m_context->updateImage(
|
m_context->uploadImage(
|
||||||
image, subresourceLayers,
|
image, subresourceLayers,
|
||||||
mipLevelOffset,
|
|
||||||
mipLevelExtent,
|
|
||||||
pInitialData[id].pSysMem,
|
pInitialData[id].pSysMem,
|
||||||
pInitialData[id].SysMemPitch,
|
pInitialData[id].SysMemPitch,
|
||||||
pInitialData[id].SysMemSlicePitch);
|
pInitialData[id].SysMemSlicePitch);
|
||||||
|
Loading…
Reference in New Issue
Block a user