swrasterizer folder minor edit

This commit is contained in:
Dragios 2017-10-27 09:44:45 +08:00
parent 9b3eb69973
commit 3e26b0dee5
5 changed files with 8 additions and 12 deletions

View File

@ -20,7 +20,6 @@
using Pica::Rasterizer::Vertex;
namespace Pica {
namespace Clipper {
struct ClippingEdge {
@ -192,6 +191,5 @@ void ProcessTriangle(const OutputVertex& v0, const OutputVertex& v1, const Outpu
}
}
} // namespace
} // namespace
} // namespace Clipper
} // namespace Pica

View File

@ -5,7 +5,6 @@
#pragma once
namespace Pica {
namespace Shader {
struct OutputVertex;
}
@ -16,6 +15,5 @@ using Shader::OutputVertex;
void ProcessTriangle(const OutputVertex& v0, const OutputVertex& v1, const OutputVertex& v2);
} // namespace
} // namespace
} // namespace Clipper
} // namespace Pica

View File

@ -7,7 +7,6 @@
#include "video_core/shader/shader.h"
namespace Pica {
namespace Rasterizer {
struct Vertex : Shader::OutputVertex {
@ -44,5 +43,4 @@ struct Vertex : Shader::OutputVertex {
void ProcessTriangle(const Vertex& v0, const Vertex& v1, const Vertex& v2);
} // namespace Rasterizer
} // namespace Pica

View File

@ -12,4 +12,5 @@ void SWRasterizer::AddTriangle(const Pica::Shader::OutputVertex& v0,
const Pica::Shader::OutputVertex& v2) {
Pica::Clipper::ProcessTriangle(v0, v1, v2);
}
}
} // namespace VideoCore

View File

@ -24,4 +24,5 @@ class SWRasterizer : public RasterizerInterface {
void FlushRegion(PAddr addr, u32 size) override {}
void FlushAndInvalidateRegion(PAddr addr, u32 size) override {}
};
}
} // namespace VideoCore