diff --git a/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp b/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp index 689234a51c..12d1fd4ceb 100644 --- a/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp +++ b/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp @@ -131,7 +131,7 @@ void GSRendererDX11::EmulateZbuffer() const bool clamp_z = (uint32)(GSVector4i(m_vt.m_max.p).z) > max_z; vs_cb.MaxDepth = GSVector2i(0xFFFFFFFF); - ps_cb.Af_MaxDepth.y = 1.0f; + //ps_cb.Af_MaxDepth.y = 1.0f; m_ps_sel.zclamp = 0; if (clamp_z) @@ -147,8 +147,6 @@ void GSRendererDX11::EmulateZbuffer() } } - - GSVertex* v = &m_vertex.buff[0]; // Minor optimization of a corner case (it allow to better emulate some alpha test effects) if (m_om_dssel.ztst == ZTST_GEQUAL && m_vt.m_eq.z && v[0].XYZ.Z == max_z) diff --git a/plugins/GSdx/Renderers/OpenGL/GSRendererOGL.cpp b/plugins/GSdx/Renderers/OpenGL/GSRendererOGL.cpp index cc41623ecd..91bfeaf233 100644 --- a/plugins/GSdx/Renderers/OpenGL/GSRendererOGL.cpp +++ b/plugins/GSdx/Renderers/OpenGL/GSRendererOGL.cpp @@ -134,7 +134,7 @@ void GSRendererOGL::EmulateZbuffer() const bool clamp_z = (uint32)(GSVector4i(m_vt.m_max.p).z) > max_z; vs_cb.MaxDepth = GSVector2i(0xFFFFFFFF); - ps_cb.MaxDepth = GSVector4(0.0f, 0.0f, 0.0f, 1.0f); + //ps_cb.MaxDepth = GSVector4(0.0f, 0.0f, 0.0f, 1.0f); m_ps_sel.zclamp = 0; if (clamp_z) {