summaryrefslogtreecommitdiffstats
path: root/src/video_core/swrasterizer/framebuffer.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-30 04:25:48 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-13 03:13:04 +0100
commit426fda1d524b17acd10d962a03af872a85342eca (patch)
treec9ad03dd5495a9a83b30209492720e979e4fbeb9 /src/video_core/swrasterizer/framebuffer.h
parentSWRasterizer: Move texturing functions to their own file (diff)
downloadyuzu-426fda1d524b17acd10d962a03af872a85342eca.tar
yuzu-426fda1d524b17acd10d962a03af872a85342eca.tar.gz
yuzu-426fda1d524b17acd10d962a03af872a85342eca.tar.bz2
yuzu-426fda1d524b17acd10d962a03af872a85342eca.tar.lz
yuzu-426fda1d524b17acd10d962a03af872a85342eca.tar.xz
yuzu-426fda1d524b17acd10d962a03af872a85342eca.tar.zst
yuzu-426fda1d524b17acd10d962a03af872a85342eca.zip
Diffstat (limited to 'src/video_core/swrasterizer/framebuffer.h')
-rw-r--r--src/video_core/swrasterizer/framebuffer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/swrasterizer/framebuffer.h b/src/video_core/swrasterizer/framebuffer.h
index 220f7013b..4a32a4979 100644
--- a/src/video_core/swrasterizer/framebuffer.h
+++ b/src/video_core/swrasterizer/framebuffer.h
@@ -19,5 +19,11 @@ void SetDepth(int x, int y, u32 value);
void SetStencil(int x, int y, u8 value);
u8 PerformStencilAction(FramebufferRegs::StencilAction action, u8 old_stencil, u8 ref);
+Math::Vec4<u8> EvaluateBlendEquation(const Math::Vec4<u8>& src, const Math::Vec4<u8>& srcfactor,
+ const Math::Vec4<u8>& dest, const Math::Vec4<u8>& destfactor,
+ FramebufferRegs::BlendEquation equation);
+
+u8 LogicOp(u8 src, u8 dest, FramebufferRegs::LogicOp op);
+
} // namespace Rasterizer
} // namespace Pica