diff options
| author | 2014-07-27 17:34:11 +0200 | |
|---|---|---|
| committer | 2014-08-12 13:49:33 +0200 | |
| commit | 94aa9da562457e1fed4911d1cda770c3e42bd419 (patch) | |
| tree | ba3b698dd4032c2882ea9b4d4395c9fde1d2c498 /src/video_core/clipper.h | |
| parent | Pica: Add primitive assembly stage. (diff) | |
| download | yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.gz yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.tar.xz yuzu-94aa9da562457e1fed4911d1cda770c3e42bd419.zip | |
Pica: Add triangle clipper.
Diffstat (limited to 'src/video_core/clipper.h')
| -rw-r--r-- | src/video_core/clipper.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/video_core/clipper.h b/src/video_core/clipper.h new file mode 100644 index 000000000..14d31ca1e --- /dev/null +++ b/src/video_core/clipper.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | // Copyright 2014 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | namespace Pica { | ||
| 8 | |||
| 9 | namespace VertexShader { | ||
| 10 | struct OutputVertex; | ||
| 11 | } | ||
| 12 | |||
| 13 | namespace Clipper { | ||
| 14 | |||
| 15 | using VertexShader::OutputVertex; | ||
| 16 | |||
| 17 | void ProcessTriangle(OutputVertex& v0, OutputVertex& v1, OutputVertex& v2); | ||
| 18 | |||
| 19 | } // namespace | ||
| 20 | |||
| 21 | } // namespace | ||