SWRasterizer: Move more framebuffer functions to file

This commit is contained in:
Yuri Kunde Schlesner 2017-01-29 19:25:48 -08:00
parent 1683cb0ec9
commit 426fda1d52
3 changed files with 105 additions and 100 deletions

View file

@ -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