From 0f13914ff0815f45ab25aaacbbe1d5c1105e9a37 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 7 Feb 2018 13:14:52 +0100 Subject: [PATCH] [dxvk] Fixed MSAA issue in render pass info --- src/dxvk/dxvk_renderpass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_renderpass.cpp b/src/dxvk/dxvk_renderpass.cpp index c4645644..e93f46de 100644 --- a/src/dxvk/dxvk_renderpass.cpp +++ b/src/dxvk/dxvk_renderpass.cpp @@ -7,7 +7,7 @@ namespace dxvk { bool DxvkRenderPassFormat::matchesFormat(const DxvkRenderPassFormat& other) const { bool equal = m_samples == other.m_samples; - equal = m_depth.format == other.m_depth.format + equal &= m_depth.format == other.m_depth.format && m_depth.initialLayout == other.m_depth.initialLayout && m_depth.finalLayout == other.m_depth.finalLayout && m_depth.renderLayout == other.m_depth.renderLayout;