mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Fix clear optimization edge case with multi-planar images
This commit is contained in:
parent
0a84dbb787
commit
3453732bba
1 changed files with 1 additions and 1 deletions
|
@ -4267,7 +4267,7 @@ namespace dxvk {
|
||||||
|
|
||||||
// Ignore mismatched size for now, needs more testing since we'd
|
// Ignore mismatched size for now, needs more testing since we'd
|
||||||
// need to prepare the image first and then call clearImageViewFb
|
// 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;
|
return false;
|
||||||
|
|
||||||
auto view = dstImage->createView(viewInfo);
|
auto view = dstImage->createView(viewInfo);
|
||||||
|
|
Loading…
Add table
Reference in a new issue