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.
This commit is contained in:
lightningterror 2018-12-23 14:21:44 +01:00
parent 83da33e2ab
commit f6df6b350b
2 changed files with 5 additions and 3 deletions

View File

@ -31,7 +31,8 @@ bool GSDeviceDX::s_old_d3d_compiler_dll;
GSDeviceDX::GSDeviceDX() GSDeviceDX::GSDeviceDX()
{ {
m_upscale_multiplier = theApp.GetConfigI("upscale_multiplier"); 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.Count = 1;
m_msaa_desc.Quality = 0; m_msaa_desc.Quality = 0;

View File

@ -617,6 +617,7 @@ void GSHacksDlg::OnInit()
bool dx11 = renderer == GSRendererType::DX1011_HW; bool dx11 = renderer == GSRendererType::DX1011_HW;
bool ogl = renderer == GSRendererType::OGL_HW; bool ogl = renderer == GSRendererType::OGL_HW;
bool native = upscaling_multiplier == 1; 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.... 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: // Direct3D-only hacks:
EnableWindow(GetDlgItem(m_hWnd, IDC_ALPHASTENCIL), !ogl); EnableWindow(GetDlgItem(m_hWnd, IDC_ALPHASTENCIL), !ogl);
EnableWindow(GetDlgItem(m_hWnd, IDC_ALPHAHACK), dx11); EnableWindow(GetDlgItem(m_hWnd, IDC_ALPHAHACK), dx11);
EnableWindow(GetDlgItem(m_hWnd, IDC_MSAACB), !ogl); EnableWindow(GetDlgItem(m_hWnd, IDC_MSAACB), !msaadisabled);
EnableWindow(GetDlgItem(m_hWnd, IDC_MSAA_TEXT), !ogl); EnableWindow(GetDlgItem(m_hWnd, IDC_MSAA_TEXT), !msaadisabled);
// OpenGL-only hacks: // OpenGL-only hacks:
EnableWindow(GetDlgItem(m_hWnd, IDC_TRI_FILTER), ogl); EnableWindow(GetDlgItem(m_hWnd, IDC_TRI_FILTER), ogl);