diff options
| author | 2015-08-15 18:26:12 -0400 | |
|---|---|---|
| committer | 2015-08-15 18:26:12 -0400 | |
| commit | d852c4ecc71f800b552978362947a5eb5a524694 (patch) | |
| tree | 9ea9a86da4027126914e69b12c24d2849fdb2c2d /src/video_core/rasterizer.cpp | |
| parent | Merge pull request #1027 from lioncash/debugger (diff) | |
| parent | Shader: Use a POD struct for registers. (diff) | |
| download | yuzu-d852c4ecc71f800b552978362947a5eb5a524694.tar.gz yuzu-d852c4ecc71f800b552978362947a5eb5a524694.tar.xz yuzu-d852c4ecc71f800b552978362947a5eb5a524694.zip | |
Merge pull request #1002 from bunnei/shader-jit
Vertex Shader JIT for X86-64
Diffstat (limited to 'src/video_core/rasterizer.cpp')
| -rw-r--r-- | src/video_core/rasterizer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index 68b7cc05d..b83798b0f 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | #include "math.h" | 16 | #include "math.h" |
| 17 | #include "pica.h" | 17 | #include "pica.h" |
| 18 | #include "rasterizer.h" | 18 | #include "rasterizer.h" |
| 19 | #include "vertex_shader.h" | 19 | #include "shader/shader_interpreter.h" |
| 20 | #include "video_core/utils.h" | 20 | #include "video_core/utils.h" |
| 21 | 21 | ||
| 22 | namespace Pica { | 22 | namespace Pica { |
| @@ -272,9 +272,9 @@ static Common::Profiling::TimingCategory rasterization_category("Rasterization") | |||
| 272 | * Helper function for ProcessTriangle with the "reversed" flag to allow for implementing | 272 | * Helper function for ProcessTriangle with the "reversed" flag to allow for implementing |
| 273 | * culling via recursion. | 273 | * culling via recursion. |
| 274 | */ | 274 | */ |
| 275 | static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0, | 275 | static void ProcessTriangleInternal(const Shader::OutputVertex& v0, |
| 276 | const VertexShader::OutputVertex& v1, | 276 | const Shader::OutputVertex& v1, |
| 277 | const VertexShader::OutputVertex& v2, | 277 | const Shader::OutputVertex& v2, |
| 278 | bool reversed = false) | 278 | bool reversed = false) |
| 279 | { | 279 | { |
| 280 | const auto& regs = g_state.regs; | 280 | const auto& regs = g_state.regs; |
| @@ -1107,9 +1107,9 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0, | |||
| 1107 | } | 1107 | } |
| 1108 | } | 1108 | } |
| 1109 | 1109 | ||
| 1110 | void ProcessTriangle(const VertexShader::OutputVertex& v0, | 1110 | void ProcessTriangle(const Shader::OutputVertex& v0, |
| 1111 | const VertexShader::OutputVertex& v1, | 1111 | const Shader::OutputVertex& v1, |
| 1112 | const VertexShader::OutputVertex& v2) { | 1112 | const Shader::OutputVertex& v2) { |
| 1113 | ProcessTriangleInternal(v0, v1, v2); | 1113 | ProcessTriangleInternal(v0, v1, v2); |
| 1114 | } | 1114 | } |
| 1115 | 1115 | ||