1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +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:
Joshua Ashton 2020-04-03 08:21:35 +01:00 committed by Philip Rebohle
parent 457c0c3021
commit bbe681d9ca

View File

@ -1774,7 +1774,7 @@ namespace dxvk {
|| !srcImage->isFullSubresource(region.srcSubresource, region.extent)
|| dstImage->info().format != srcImage->info().format;
if (useFb) {
if (!useFb) {
// Additionally, the given mode combination must be supported.
const auto& properties = m_device->properties().khrDepthStencilResolve;