1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-18 13:54:16 +01:00

[dxvk] Fix meta copy operation for mipmapped images

This commit is contained in:
Philip Rebohle 2019-07-18 19:52:24 +02:00
parent fb9ea958a1
commit 02d917c680
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -2815,8 +2815,8 @@ namespace dxvk {
info.framebuffer = fb->framebuffer();
info.renderArea.offset = { 0, 0 };
info.renderArea.extent = {
tgtImage->info().extent.width,
tgtImage->info().extent.height };
tgtImage->mipLevelExtent(tgtSubresource.mipLevel).width,
tgtImage->mipLevelExtent(tgtSubresource.mipLevel).height };
info.clearValueCount = 0;
info.pClearValues = nullptr;