diff options
| author | 2015-07-22 23:25:30 -0400 | |
|---|---|---|
| committer | 2015-08-15 18:01:07 -0400 | |
| commit | 094ae6fadb57883e25d412443fcae987ddf240ef (patch) | |
| tree | 8817c9b0672bd02be3fa32a02f3f126f0ecfb664 /src/video_core/pica.cpp | |
| parent | Common: Added MurmurHash3 hash function for general-purpose use. (diff) | |
| download | yuzu-094ae6fadb57883e25d412443fcae987ddf240ef.tar.gz yuzu-094ae6fadb57883e25d412443fcae987ddf240ef.tar.xz yuzu-094ae6fadb57883e25d412443fcae987ddf240ef.zip | |
Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
- Config: Add an option for selecting to use shader JIT or interpreter.
- Qt: Add a menu option for enabling/disabling the shader JIT.
Diffstat (limited to 'src/video_core/pica.cpp')
| -rw-r--r-- | src/video_core/pica.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/pica.cpp b/src/video_core/pica.cpp index 17cb66780..c73a8178e 100644 --- a/src/video_core/pica.cpp +++ b/src/video_core/pica.cpp | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include <unordered_map> | 6 | #include <unordered_map> |
| 7 | 7 | ||
| 8 | #include "pica.h" | 8 | #include "pica.h" |
| 9 | #include "shader/shader.h" | ||
| 9 | 10 | ||
| 10 | namespace Pica { | 11 | namespace Pica { |
| 11 | 12 | ||
| @@ -84,6 +85,8 @@ void Init() { | |||
| 84 | } | 85 | } |
| 85 | 86 | ||
| 86 | void Shutdown() { | 87 | void Shutdown() { |
| 88 | Shader::Shutdown(); | ||
| 89 | |||
| 87 | memset(&g_state, 0, sizeof(State)); | 90 | memset(&g_state, 0, sizeof(State)); |
| 88 | } | 91 | } |
| 89 | 92 | ||