diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-08 05:21:06 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-08 05:21:06 +0100 |
commit | 31764c48fb8f78b998b6627ef4ea4f1b2ec83903 (patch) | |
tree | 61533db5c3b250e4f3bc557e442b589e307201ca /src/video_core/swrasterizer.cpp | |
parent | Merge pull request #1271 from lioncash/dyncom-misc (diff) | |
parent | VideoCore: Unify interface to OpenGL and SW rasterizers (diff) | |
download | yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.gz yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.bz2 yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.lz yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.xz yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.zst yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.zip |
Diffstat (limited to 'src/video_core/swrasterizer.cpp')
-rw-r--r-- | src/video_core/swrasterizer.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/video_core/swrasterizer.cpp b/src/video_core/swrasterizer.cpp new file mode 100644 index 000000000..03df15b01 --- /dev/null +++ b/src/video_core/swrasterizer.cpp @@ -0,0 +1,16 @@ +// Copyright 2015 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "video_core/clipper.h" +#include "video_core/swrasterizer.h" + +namespace VideoCore { + +void SWRasterizer::AddTriangle(const Pica::Shader::OutputVertex& v0, + const Pica::Shader::OutputVertex& v1, + const Pica::Shader::OutputVertex& v2) { + Pica::Clipper::ProcessTriangle(v0, v1, v2); +} + +} |