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:
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
Block a user