From c011b6f67e909cffe6496bc07d3359b5b74b1d63 Mon Sep 17 00:00:00 2001 From: Subv Date: Fri, 8 Jun 2018 17:05:52 -0500 Subject: GPU: Synchronize the blend state on every draw call. Only independent blending on render target 0 is implemented for now. This fixes the elongated squids in Splatoon 2's boot screen. --- src/video_core/renderer_opengl/gl_rasterizer.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h') diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index d3f0558ed..b7c8cf843 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -121,14 +121,8 @@ private: /// Syncs the depth offset to match the guest state void SyncDepthOffset(); - /// Syncs the blend enabled status to match the guest state - void SyncBlendEnabled(); - - /// Syncs the blend functions to match the guest state - void SyncBlendFuncs(); - - /// Syncs the blend color to match the guest state - void SyncBlendColor(); + /// Syncs the blend state to match the guest state + void SyncBlendState(); bool has_ARB_buffer_storage; bool has_ARB_direct_state_access; -- cgit v1.2.3