mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[dxvk] Fix incorrect logic in resolveDepthStencilImage
This fallbath check path should be triggered if we aren't currently using the fb. Impacts #1537
This commit is contained in:
parent
457c0c3021
commit
bbe681d9ca
@ -1774,7 +1774,7 @@ namespace dxvk {
|
|||||||
|| !srcImage->isFullSubresource(region.srcSubresource, region.extent)
|
|| !srcImage->isFullSubresource(region.srcSubresource, region.extent)
|
||||||
|| dstImage->info().format != srcImage->info().format;
|
|| dstImage->info().format != srcImage->info().format;
|
||||||
|
|
||||||
if (useFb) {
|
if (!useFb) {
|
||||||
// Additionally, the given mode combination must be supported.
|
// Additionally, the given mode combination must be supported.
|
||||||
const auto& properties = m_device->properties().khrDepthStencilResolve;
|
const auto& properties = m_device->properties().khrDepthStencilResolve;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user