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

[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

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