diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-07-27 17:34:11 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-08-12 13:49:33 +0200 |
commit | 94aa9da562457e1fed4911d1cda770c3e42bd419 (patch) | |
tree | ba3b698dd4032c2882ea9b4d4395c9fde1d2c498 /src/video_core/primitive_assembly.cpp | |
parent | Pica: Add primitive assembly stage. (diff) | |
download | yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.gz yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.bz2 yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.lz yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.xz yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.zst yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.zip |
Diffstat (limited to 'src/video_core/primitive_assembly.cpp')
-rw-r--r-- | src/video_core/primitive_assembly.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/primitive_assembly.cpp b/src/video_core/primitive_assembly.cpp index b2196d13c..2354ffb99 100644 --- a/src/video_core/primitive_assembly.cpp +++ b/src/video_core/primitive_assembly.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. +#include "clipper.h" #include "pica.h" #include "primitive_assembly.h" #include "vertex_shader.h" @@ -23,8 +24,7 @@ void SubmitVertex(OutputVertex& vtx) } else { buffer_index = 0; - // TODO - // Clipper::ProcessTriangle(buffer[0], buffer[1], vtx); + Clipper::ProcessTriangle(buffer[0], buffer[1], vtx); } break; @@ -32,8 +32,7 @@ void SubmitVertex(OutputVertex& vtx) if (buffer_index == 2) { buffer_index = 0; - // TODO - // Clipper::ProcessTriangle(buffer[0], buffer[1], vtx); + Clipper::ProcessTriangle(buffer[0], buffer[1], vtx); buffer[1] = vtx; } else { |