diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-30 06:23:35 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-09 09:04:24 +0100 |
commit | af65e1c0a058bf479f3eec9233f2f60153597bb6 (patch) | |
tree | 81ce1ae0741d7b412c0ab8e3c37a7a902ec21395 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | VideoCore: Split regs.h inclusions (diff) | |
download | yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.tar yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.tar.gz yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.tar.bz2 yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.tar.lz yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.tar.xz yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.tar.zst yuzu-af65e1c0a058bf479f3eec9233f2f60153597bb6.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index ca818a672..4b1948a71 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -28,18 +28,6 @@ MICROPROFILE_DEFINE(OpenGL_Drawing, "OpenGL", "Drawing", MP_RGB(128, 128, 192)); MICROPROFILE_DEFINE(OpenGL_Blits, "OpenGL", "Blits", MP_RGB(100, 100, 255)); MICROPROFILE_DEFINE(OpenGL_CacheManagement, "OpenGL", "Cache Mgmt", MP_RGB(100, 255, 100)); -static bool IsPassThroughTevStage(const Pica::TexturingRegs::TevStageConfig& stage) { - using TevStageConfig = Pica::TexturingRegs::TevStageConfig; - - return (stage.color_op == TevStageConfig::Operation::Replace && - stage.alpha_op == TevStageConfig::Operation::Replace && - stage.color_source1 == TevStageConfig::Source::Previous && - stage.alpha_source1 == TevStageConfig::Source::Previous && - stage.color_modifier1 == TevStageConfig::ColorModifier::SourceColor && - stage.alpha_modifier1 == TevStageConfig::AlphaModifier::SourceAlpha && - stage.GetColorMultiplier() == 1 && stage.GetAlphaMultiplier() == 1); -} - RasterizerOpenGL::RasterizerOpenGL() : shader_dirty(true) { // Create sampler objects for (size_t i = 0; i < texture_samplers.size(); ++i) { |