Skip to content

Commit

Permalink
[dxvk] Fix incorrect logic in resolveDepthStencilImage
Browse files Browse the repository at this point in the history
This fallbath check path should be triggered if we aren't currently using the fb.

Impacts #1537
  • Loading branch information
misyltoad authored and doitsujin committed Apr 3, 2020
1 parent 457c0c3 commit bbe681d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dxvk/dxvk_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bbe681d

Please sign in to comment.