mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 22:54:16 +01:00
[dxvk] Fix clear optimization edge case with multi-planar images
This commit is contained in:
parent
0a84dbb787
commit
3453732bba
@ -4267,7 +4267,7 @@ namespace dxvk {
|
||||
|
||||
// Ignore mismatched size for now, needs more testing since we'd
|
||||
// need to prepare the image first and then call clearImageViewFb
|
||||
if (dstImage->mipLevelExtent(dstSubresource.mipLevel) != dstExtent)
|
||||
if (dstImage->mipLevelExtent(dstSubresource.mipLevel, dstSubresource.aspectMask) != dstExtent)
|
||||
return false;
|
||||
|
||||
auto view = dstImage->createView(viewInfo);
|
||||
|
Loading…
x
Reference in New Issue
Block a user