diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp index 5cc194e543..3083a9a622 100644 --- a/Source/Core/VideoBackends/D3D/Render.cpp +++ b/Source/Core/VideoBackends/D3D/Render.cpp @@ -1085,11 +1085,6 @@ void Renderer::SetLogicOpMode() } } -void Renderer::SetDitherMode() -{ - // TODO: Set dither mode to bpmem.blendmode.dither -} - void Renderer::SetSamplerState(int stage, int texindex, bool custom_tex) { const FourTexUnits& tex = bpmem.tex[texindex]; diff --git a/Source/Core/VideoBackends/D3D/Render.h b/Source/Core/VideoBackends/D3D/Render.h index 0202f7fdff..e5b429f2ab 100644 --- a/Source/Core/VideoBackends/D3D/Render.h +++ b/Source/Core/VideoBackends/D3D/Render.h @@ -25,7 +25,6 @@ public: void SetGenerationMode() override; void SetDepthMode() override; void SetLogicOpMode() override; - void SetDitherMode() override; void SetSamplerState(int stage, int texindex, bool custom_tex) override; void SetInterlacingMode() override; void SetViewport() override; diff --git a/Source/Core/VideoBackends/D3D12/Render.cpp b/Source/Core/VideoBackends/D3D12/Render.cpp index 0762dc5ee5..a5479ae2e7 100644 --- a/Source/Core/VideoBackends/D3D12/Render.cpp +++ b/Source/Core/VideoBackends/D3D12/Render.cpp @@ -1108,11 +1108,6 @@ void Renderer::SetLogicOpMode() D3D::command_list_mgr->SetCommandListDirtyState(COMMAND_LIST_STATE_PSO, true); } -void Renderer::SetDitherMode() -{ - // EXISTINGD3D11TODO: Set dither mode to bpmem.blendmode.dither -} - void Renderer::SetSamplerState(int stage, int tex_index, bool custom_tex) { const FourTexUnits& tex = bpmem.tex[tex_index]; diff --git a/Source/Core/VideoBackends/D3D12/Render.h b/Source/Core/VideoBackends/D3D12/Render.h index 2b8f1cbaf2..937ed0e6a3 100644 --- a/Source/Core/VideoBackends/D3D12/Render.h +++ b/Source/Core/VideoBackends/D3D12/Render.h @@ -26,7 +26,6 @@ public: void SetGenerationMode() override; void SetDepthMode() override; void SetLogicOpMode() override; - void SetDitherMode() override; void SetSamplerState(int stage, int tex_index, bool custom_tex) override; void SetInterlacingMode() override; void SetViewport() override; diff --git a/Source/Core/VideoBackends/Vulkan/Renderer.cpp b/Source/Core/VideoBackends/Vulkan/Renderer.cpp index 30da0befde..78dc4613c2 100644 --- a/Source/Core/VideoBackends/Vulkan/Renderer.cpp +++ b/Source/Core/VideoBackends/Vulkan/Renderer.cpp @@ -1383,10 +1383,6 @@ void Renderer::ResetSamplerStates() g_object_cache->ClearSamplerCache(); } -void Renderer::SetDitherMode() -{ -} - void Renderer::SetInterlacingMode() { } diff --git a/Source/Core/VideoBackends/Vulkan/Renderer.h b/Source/Core/VideoBackends/Vulkan/Renderer.h index 74404d2c3c..b7615cd949 100644 --- a/Source/Core/VideoBackends/Vulkan/Renderer.h +++ b/Source/Core/VideoBackends/Vulkan/Renderer.h @@ -60,7 +60,6 @@ public: void SetScissorRect(const EFBRectangle& rc) override; void SetGenerationMode() override; void SetDepthMode() override; - void SetDitherMode() override; void SetSamplerState(int stage, int texindex, bool custom_tex) override; void SetInterlacingMode() override; void SetViewport() override; diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp index 0bb2844a62..b4257fc044 100644 --- a/Source/Core/VideoCommon/BPFunctions.cpp +++ b/Source/Core/VideoCommon/BPFunctions.cpp @@ -74,10 +74,7 @@ void SetBlendMode() { g_renderer->SetBlendMode(false); } -void SetDitherMode() -{ - g_renderer->SetDitherMode(); -} + void SetLogicOpMode() { g_renderer->SetLogicOpMode(); diff --git a/Source/Core/VideoCommon/BPFunctions.h b/Source/Core/VideoCommon/BPFunctions.h index 3208939cc7..45afe32e85 100644 --- a/Source/Core/VideoCommon/BPFunctions.h +++ b/Source/Core/VideoCommon/BPFunctions.h @@ -19,7 +19,6 @@ void SetGenerationMode(); void SetScissor(); void SetDepthMode(); void SetBlendMode(); -void SetDitherMode(); void SetLogicOpMode(); void SetColorMask(); void ClearScreen(const EFBRectangle& rc); diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 774754839b..cd6f84f446 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -152,10 +152,6 @@ static void BPWritten(const BPCmd& bp) if (bp.changes & 0xF002) // logicopenable | logicmode SetLogicOpMode(); - // Set Dithering Mode - if (bp.changes & 4) // dither - SetDitherMode(); - // Set Color Mask if (bp.changes & 0x18) // colorupdate | alphaupdate SetColorMask(); @@ -1383,7 +1379,6 @@ void BPReload() SetScissor(); SetDepthMode(); SetLogicOpMode(); - SetDitherMode(); SetBlendMode(); SetColorMask(); OnPixelFormatChange(); diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index fe2fd4e0e4..cc7ccdb5ef 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -69,7 +69,6 @@ public: virtual void SetGenerationMode() {} virtual void SetDepthMode() {} virtual void SetLogicOpMode() {} - virtual void SetDitherMode() {} virtual void SetSamplerState(int stage, int texindex, bool custom_tex) {} virtual void SetInterlacingMode() {} virtual void SetViewport() {}