diff options
author | Subv <subv2112@gmail.com> | 2018-06-09 00:04:41 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-09 00:04:41 +0200 |
commit | c712dafaeee1a6deff1a6bb80650d14109c89fb9 (patch) | |
tree | 041a88a5663cc2da368c8ff10179af933c3718ff /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #547 from Subv/compressed_alignment (diff) | |
download | yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.tar yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.tar.gz yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.tar.bz2 yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.tar.lz yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.tar.xz yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.tar.zst yuzu-c712dafaeee1a6deff1a6bb80650d14109c89fb9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 59761c6b1..6bc0dbd38 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -455,32 +455,7 @@ void RasterizerOpenGL::DrawArrays() { } } -void RasterizerOpenGL::NotifyMaxwellRegisterChanged(u32 method) { - const auto& regs = Core::System().GetInstance().GPU().Maxwell3D().regs; - switch (method) { - case MAXWELL3D_REG_INDEX(blend.separate_alpha): - ASSERT_MSG(false, "unimplemented"); - break; - case MAXWELL3D_REG_INDEX(blend.equation_rgb): - state.blend.rgb_equation = MaxwellToGL::BlendEquation(regs.blend.equation_rgb); - break; - case MAXWELL3D_REG_INDEX(blend.factor_source_rgb): - state.blend.src_rgb_func = MaxwellToGL::BlendFunc(regs.blend.factor_source_rgb); - break; - case MAXWELL3D_REG_INDEX(blend.factor_dest_rgb): - state.blend.dst_rgb_func = MaxwellToGL::BlendFunc(regs.blend.factor_dest_rgb); - break; - case MAXWELL3D_REG_INDEX(blend.equation_a): - state.blend.a_equation = MaxwellToGL::BlendEquation(regs.blend.equation_a); - break; - case MAXWELL3D_REG_INDEX(blend.factor_source_a): - state.blend.src_a_func = MaxwellToGL::BlendFunc(regs.blend.factor_source_a); - break; - case MAXWELL3D_REG_INDEX(blend.factor_dest_a): - state.blend.dst_a_func = MaxwellToGL::BlendFunc(regs.blend.factor_dest_a); - break; - } -} +void RasterizerOpenGL::NotifyMaxwellRegisterChanged(u32 method) {} void RasterizerOpenGL::FlushAll() { MICROPROFILE_SCOPE(OpenGL_CacheManagement); |