diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 03:51:50 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 17:34:43 -0300 |
| commit | 1bc0da3dea5a8502e63f5c123151328ccb2ba8d6 (patch) | |
| tree | 5a43fa241e32175df8be44fcb797609e5f75df0c /src/video_core/renderer_opengl/gl_state.h | |
| parent | 7d9a5e9e30b9e197e5fe3bfd10116e7ea078494a (diff) | |
gl_state: Remove blend state tracking
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 18f36da08..29126b80a 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -13,21 +13,6 @@ namespace OpenGL { class OpenGLState { public: - struct Blend { - bool enabled = false; // GL_BLEND - GLenum rgb_equation = GL_FUNC_ADD; // GL_BLEND_EQUATION_RGB - GLenum a_equation = GL_FUNC_ADD; // GL_BLEND_EQUATION_ALPHA - GLenum src_rgb_func = GL_ONE; // GL_BLEND_SRC_RGB - GLenum dst_rgb_func = GL_ZERO; // GL_BLEND_DST_RGB - GLenum src_a_func = GL_ONE; // GL_BLEND_SRC_ALPHA - GLenum dst_a_func = GL_ZERO; // GL_BLEND_DST_ALPHA - }; - std::array<Blend, Tegra::Engines::Maxwell3D::Regs::NumRenderTargets> blend; - - struct { - bool enabled = false; - } independant_blend; - static constexpr std::size_t NumSamplers = 32 * 5; static constexpr std::size_t NumImages = 8 * 5; std::array<GLuint, NumSamplers> textures = {}; @@ -56,9 +41,6 @@ public: void ApplyFramebufferState(); void ApplyShaderProgram(); void ApplyProgramPipeline(); - void ApplyTargetBlending(std::size_t target, bool force); - void ApplyGlobalBlending(); - void ApplyBlending(); void ApplyTextures(); void ApplySamplers(); void ApplyImages(); |
