mirror of https://github.com/doitsujin/dxvk
[dxvk] Fix wrong aspect mask for clear copies
This commit is contained in:
parent
a520c5160e
commit
787297ee4e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue