From f6df6b350b3c72e4fd32ea3fb3fb76cb8b325697 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sun, 23 Dec 2018 14:21:44 +0100 Subject: [PATCH] GSdx-d3d: Disable MSAA unti it's properly fixed. MSAA causes a lot of graphical issues when enabled with the recent accuracy changes so better disable the feature until it's properly fixed. --- plugins/GSdx/Renderers/DXCommon/GSDeviceDX.cpp | 3 ++- plugins/GSdx/Window/GSSettingsDlg.cpp | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/Renderers/DXCommon/GSDeviceDX.cpp b/plugins/GSdx/Renderers/DXCommon/GSDeviceDX.cpp index f5dca33ca9..8330836e21 100644 --- a/plugins/GSdx/Renderers/DXCommon/GSDeviceDX.cpp +++ b/plugins/GSdx/Renderers/DXCommon/GSDeviceDX.cpp @@ -31,7 +31,8 @@ bool GSDeviceDX::s_old_d3d_compiler_dll; GSDeviceDX::GSDeviceDX() { m_upscale_multiplier = theApp.GetConfigI("upscale_multiplier"); - m_msaa = theApp.GetConfigB("UserHacks") ? theApp.GetConfigI("UserHacks_MSAA") : 0; + // m_msaa = theApp.GetConfigB("UserHacks") ? theApp.GetConfigI("UserHacks_MSAA") : 0; + m_msaa = 0; // Temporarily disable msaa until it's fixed. m_msaa_desc.Count = 1; m_msaa_desc.Quality = 0; diff --git a/plugins/GSdx/Window/GSSettingsDlg.cpp b/plugins/GSdx/Window/GSSettingsDlg.cpp index 7ffee68d3b..20aa9983a2 100644 --- a/plugins/GSdx/Window/GSSettingsDlg.cpp +++ b/plugins/GSdx/Window/GSSettingsDlg.cpp @@ -617,6 +617,7 @@ void GSHacksDlg::OnInit() bool dx11 = renderer == GSRendererType::DX1011_HW; bool ogl = renderer == GSRendererType::OGL_HW; bool native = upscaling_multiplier == 1; + bool msaadisabled = true; for(unsigned short j = 0; j < 5; j++) // TODO: Make the same kind of check for d3d11, eventually.... { @@ -666,8 +667,8 @@ void GSHacksDlg::OnInit() // Direct3D-only hacks: EnableWindow(GetDlgItem(m_hWnd, IDC_ALPHASTENCIL), !ogl); EnableWindow(GetDlgItem(m_hWnd, IDC_ALPHAHACK), dx11); - EnableWindow(GetDlgItem(m_hWnd, IDC_MSAACB), !ogl); - EnableWindow(GetDlgItem(m_hWnd, IDC_MSAA_TEXT), !ogl); + EnableWindow(GetDlgItem(m_hWnd, IDC_MSAACB), !msaadisabled); + EnableWindow(GetDlgItem(m_hWnd, IDC_MSAA_TEXT), !msaadisabled); // OpenGL-only hacks: EnableWindow(GetDlgItem(m_hWnd, IDC_TRI_FILTER), ogl);