From 094ae6fadb57883e25d412443fcae987ddf240ef Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 22 Jul 2015 23:25:30 -0400 Subject: 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. --- src/video_core/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/video_core/CMakeLists.txt') diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 2b859a077..544ed0297 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -13,6 +13,7 @@ set(SRCS rasterizer.cpp shader/shader.cpp shader/shader_interpreter.cpp + shader/shader_jit.cpp utils.cpp video_core.cpp ) @@ -38,10 +39,19 @@ set(HEADERS renderer_base.h shader/shader.h shader/shader_interpreter.h + shader/shader_jit.h utils.h video_core.h ) +if(_M_X86_64) + set(SRCS ${SRCS} + shader/shader_jit_x64.cpp) +else() + set(SRCS ${SRCS} + shader/shader_jit_fake.cpp) +endif() + create_directory_groups(${SRCS} ${HEADERS}) add_library(video_core STATIC ${SRCS} ${HEADERS}) -- cgit v1.2.3