summaryrefslogtreecommitdiffstats
path: root/src/video_core/clipper.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-07-27 18:02:35 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-08-12 13:50:07 +0200
commit94d742fe172ba933af321bfb0e02889b40d0c179 (patch)
tree241e6d8b36e6ab9921ef7afb71e7350e52862e2a /src/video_core/clipper.cpp
parentPica: Add triangle clipper. (diff)
downloadyuzu-94d742fe172ba933af321bfb0e02889b40d0c179.tar
yuzu-94d742fe172ba933af321bfb0e02889b40d0c179.tar.gz
yuzu-94d742fe172ba933af321bfb0e02889b40d0c179.tar.bz2
yuzu-94d742fe172ba933af321bfb0e02889b40d0c179.tar.lz
yuzu-94d742fe172ba933af321bfb0e02889b40d0c179.tar.xz
yuzu-94d742fe172ba933af321bfb0e02889b40d0c179.tar.zst
yuzu-94d742fe172ba933af321bfb0e02889b40d0c179.zip
Diffstat (limited to 'src/video_core/clipper.cpp')
-rw-r--r--src/video_core/clipper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp
index e9ab6242c..b7180328c 100644
--- a/src/video_core/clipper.cpp
+++ b/src/video_core/clipper.cpp
@@ -6,6 +6,7 @@
#include "clipper.h"
#include "pica.h"
+#include "rasterizer.h"
#include "vertex_shader.h"
namespace Pica {
@@ -168,7 +169,7 @@ void ProcessTriangle(OutputVertex &v0, OutputVertex &v1, OutputVertex &v2) {
vtx1.screenpos.x.ToFloat32(), vtx1.screenpos.y.ToFloat32(), vtx1.screenpos.z.ToFloat32(),
vtx2.screenpos.x.ToFloat32(), vtx2.screenpos.y.ToFloat32(), vtx2.screenpos.z.ToFloat32());
- // TODO: Send triangle to rasterizer
+ Rasterizer::ProcessTriangle(vtx0, vtx1, vtx2);
}
}