diff options
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -rw-r--r-- | src/video_core/shader/shader.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index fa1f7cafe..f7459e2ad 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp | |||
| @@ -15,7 +15,10 @@ | |||
| 15 | 15 | ||
| 16 | #include "shader.h" | 16 | #include "shader.h" |
| 17 | #include "shader_interpreter.h" | 17 | #include "shader_interpreter.h" |
| 18 | #include "shader_jit.h" | 18 | |
| 19 | #ifdef ARCHITECTURE_X64 | ||
| 20 | #include "shader_jit_x64.h" | ||
| 21 | #endif // ARCHITECTURE_X64 | ||
| 19 | 22 | ||
| 20 | namespace Pica { | 23 | namespace Pica { |
| 21 | 24 | ||
| @@ -43,7 +46,7 @@ void Setup(UnitState& state) { | |||
| 43 | jit_shader = jit.Compile(); | 46 | jit_shader = jit.Compile(); |
| 44 | shader_map.emplace(cache_key, jit_shader); | 47 | shader_map.emplace(cache_key, jit_shader); |
| 45 | } | 48 | } |
| 46 | } | 49 | #endif // ARCHITECTURE_X64 |
| 47 | } | 50 | } |
| 48 | 51 | ||
| 49 | void Shutdown() { | 52 | void Shutdown() { |
| @@ -92,7 +95,7 @@ OutputVertex Run(UnitState& state, const InputVertex& input, int num_attributes) | |||
| 92 | RunInterpreter(state); | 95 | RunInterpreter(state); |
| 93 | #else | 96 | #else |
| 94 | RunInterpreter(state); | 97 | RunInterpreter(state); |
| 95 | #endif | 98 | #endif // ARCHITECTURE_X64 |
| 96 | 99 | ||
| 97 | #if PICA_DUMP_SHADERS | 100 | #if PICA_DUMP_SHADERS |
| 98 | DebugUtils::DumpShader(setup.program_code.data(), state.debug.max_offset, setup.swizzle_data.data(), | 101 | DebugUtils::DumpShader(setup.program_code.data(), state.debug.max_offset, setup.swizzle_data.data(), |