diff options
Diffstat (limited to 'src/video_core/rasterizer.cpp')
| -rw-r--r-- | src/video_core/rasterizer.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index b9f5d4533..0674eb85e 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp | |||
| @@ -307,8 +307,8 @@ MICROPROFILE_DEFINE(GPU_Rasterization, "GPU", "Rasterization", MP_RGB(50, 50, 24 | |||
| 307 | * Helper function for ProcessTriangle with the "reversed" flag to allow for implementing | 307 | * Helper function for ProcessTriangle with the "reversed" flag to allow for implementing |
| 308 | * culling via recursion. | 308 | * culling via recursion. |
| 309 | */ | 309 | */ |
| 310 | static void ProcessTriangleInternal(const Shader::OutputVertex& v0, const Shader::OutputVertex& v1, | 310 | static void ProcessTriangleInternal(const Vertex& v0, const Vertex& v1, const Vertex& v2, |
| 311 | const Shader::OutputVertex& v2, bool reversed = false) { | 311 | bool reversed = false) { |
| 312 | const auto& regs = g_state.regs; | 312 | const auto& regs = g_state.regs; |
| 313 | MICROPROFILE_SCOPE(GPU_Rasterization); | 313 | MICROPROFILE_SCOPE(GPU_Rasterization); |
| 314 | 314 | ||
| @@ -1276,8 +1276,7 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, const Shader | |||
| 1276 | } | 1276 | } |
| 1277 | } | 1277 | } |
| 1278 | 1278 | ||
| 1279 | void ProcessTriangle(const Shader::OutputVertex& v0, const Shader::OutputVertex& v1, | 1279 | void ProcessTriangle(const Vertex& v0, const Vertex& v1, const Vertex& v2) { |
| 1280 | const Shader::OutputVertex& v2) { | ||
| 1281 | ProcessTriangleInternal(v0, v1, v2); | 1280 | ProcessTriangleInternal(v0, v1, v2); |
| 1282 | } | 1281 | } |
| 1283 | 1282 | ||