Pica: Add triangle clipper.
This commit is contained in:
parent
9a76a2d061
commit
94aa9da562
7 changed files with 230 additions and 8 deletions
21
src/video_core/clipper.h
Normal file
21
src/video_core/clipper.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Pica {
|
||||
|
||||
namespace VertexShader {
|
||||
struct OutputVertex;
|
||||
}
|
||||
|
||||
namespace Clipper {
|
||||
|
||||
using VertexShader::OutputVertex;
|
||||
|
||||
void ProcessTriangle(OutputVertex& v0, OutputVertex& v1, OutputVertex& v2);
|
||||
|
||||
} // namespace
|
||||
|
||||
} // namespace
|
Loading…
Add table
Add a link
Reference in a new issue