mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d11] Ignore OMSetRenderTargets calls with incompatible view sizes
Fixes #2701.
This commit is contained in:
parent
1b89394aa0
commit
00cfee9d17
@ -4487,6 +4487,13 @@ namespace dxvk {
|
||||
if (curView->imageInfo().sampleCount
|
||||
!= refView->imageInfo().sampleCount)
|
||||
return false;
|
||||
|
||||
VkExtent3D curExtent = curView->mipLevelExtent(0);
|
||||
VkExtent3D refExtent = refView->mipLevelExtent(0);
|
||||
|
||||
if (curExtent.width != refExtent.width
|
||||
|| curExtent.height != refExtent.height)
|
||||
return false;
|
||||
} else {
|
||||
// Set reference view. All remaining views
|
||||
// must be compatible to the reference view.
|
||||
|
Loading…
x
Reference in New Issue
Block a user