[dxvk] Fix wrong aspect mask for clear copies

This commit is contained in:
Philip Rebohle 2021-03-07 16:29:21 +01:00
parent a520c5160e
commit 787297ee4e
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

@ -3249,7 +3249,7 @@ namespace dxvk {
return false;
auto view = m_device->createImageView(dstImage, viewInfo);
this->deferClear(view, clear->clearAspects, clear->clearValue);
this->deferClear(view, srcSubresource.aspectMask, clear->clearValue);
return true;
}