2017-12-10 23:55:03 +00:00
|
|
|
add_library(video_core STATIC
|
|
|
|
command_processor.cpp
|
|
|
|
command_processor.h
|
|
|
|
debug_utils/debug_utils.cpp
|
|
|
|
debug_utils/debug_utils.h
|
|
|
|
geometry_pipeline.cpp
|
|
|
|
geometry_pipeline.h
|
|
|
|
gpu_debugger.h
|
|
|
|
pica.cpp
|
|
|
|
pica.h
|
|
|
|
pica_state.h
|
|
|
|
pica_types.h
|
|
|
|
primitive_assembly.cpp
|
|
|
|
primitive_assembly.h
|
|
|
|
rasterizer_interface.h
|
|
|
|
regs.cpp
|
|
|
|
regs.h
|
|
|
|
regs_framebuffer.h
|
|
|
|
regs_lighting.h
|
|
|
|
regs_pipeline.h
|
|
|
|
regs_rasterizer.h
|
|
|
|
regs_shader.h
|
|
|
|
regs_texturing.h
|
|
|
|
renderer_base.cpp
|
|
|
|
renderer_base.h
|
|
|
|
renderer_opengl/gl_rasterizer.cpp
|
|
|
|
renderer_opengl/gl_rasterizer.h
|
|
|
|
renderer_opengl/gl_rasterizer_cache.cpp
|
|
|
|
renderer_opengl/gl_rasterizer_cache.h
|
2018-11-06 09:40:49 +00:00
|
|
|
renderer_opengl/gl_resource_manager.cpp
|
2017-12-10 23:55:03 +00:00
|
|
|
renderer_opengl/gl_resource_manager.h
|
2018-03-23 23:51:06 +00:00
|
|
|
renderer_opengl/gl_shader_decompiler.cpp
|
|
|
|
renderer_opengl/gl_shader_decompiler.h
|
2017-12-10 23:55:03 +00:00
|
|
|
renderer_opengl/gl_shader_gen.cpp
|
|
|
|
renderer_opengl/gl_shader_gen.h
|
2018-04-09 21:31:11 +00:00
|
|
|
renderer_opengl/gl_shader_manager.cpp
|
|
|
|
renderer_opengl/gl_shader_manager.h
|
2017-12-10 23:55:03 +00:00
|
|
|
renderer_opengl/gl_shader_util.cpp
|
|
|
|
renderer_opengl/gl_shader_util.h
|
|
|
|
renderer_opengl/gl_state.cpp
|
|
|
|
renderer_opengl/gl_state.h
|
2018-02-23 09:56:30 +00:00
|
|
|
renderer_opengl/gl_stream_buffer.cpp
|
|
|
|
renderer_opengl/gl_stream_buffer.h
|
2017-12-10 23:55:03 +00:00
|
|
|
renderer_opengl/pica_to_gl.h
|
|
|
|
renderer_opengl/renderer_opengl.cpp
|
|
|
|
renderer_opengl/renderer_opengl.h
|
|
|
|
shader/debug_data.h
|
|
|
|
shader/shader.cpp
|
|
|
|
shader/shader.h
|
|
|
|
shader/shader_interpreter.cpp
|
|
|
|
shader/shader_interpreter.h
|
|
|
|
swrasterizer/clipper.cpp
|
|
|
|
swrasterizer/clipper.h
|
|
|
|
swrasterizer/framebuffer.cpp
|
|
|
|
swrasterizer/framebuffer.h
|
|
|
|
swrasterizer/lighting.cpp
|
|
|
|
swrasterizer/lighting.h
|
|
|
|
swrasterizer/proctex.cpp
|
|
|
|
swrasterizer/proctex.h
|
|
|
|
swrasterizer/rasterizer.cpp
|
|
|
|
swrasterizer/rasterizer.h
|
|
|
|
swrasterizer/swrasterizer.cpp
|
|
|
|
swrasterizer/swrasterizer.h
|
|
|
|
swrasterizer/texturing.cpp
|
|
|
|
swrasterizer/texturing.h
|
|
|
|
texture/etc1.cpp
|
|
|
|
texture/etc1.h
|
|
|
|
texture/texture_decode.cpp
|
|
|
|
texture/texture_decode.h
|
|
|
|
utils.h
|
|
|
|
vertex_loader.cpp
|
|
|
|
vertex_loader.h
|
|
|
|
video_core.cpp
|
|
|
|
video_core.h
|
|
|
|
)
|
2014-08-24 01:22:05 +00:00
|
|
|
|
2015-08-15 02:29:08 +00:00
|
|
|
if(ARCHITECTURE_x86_64)
|
2017-12-10 23:55:03 +00:00
|
|
|
target_sources(video_core
|
|
|
|
PRIVATE
|
2016-12-17 09:21:16 +00:00
|
|
|
shader/shader_jit_x64.cpp
|
2017-12-10 23:55:03 +00:00
|
|
|
shader/shader_jit_x64_compiler.cpp
|
2015-08-12 04:00:44 +00:00
|
|
|
|
2016-12-17 09:21:16 +00:00
|
|
|
shader/shader_jit_x64.h
|
2017-12-10 23:55:03 +00:00
|
|
|
shader/shader_jit_x64_compiler.h
|
|
|
|
)
|
2015-07-23 03:25:30 +00:00
|
|
|
endif()
|
|
|
|
|
2017-12-10 23:55:03 +00:00
|
|
|
create_target_directory_groups(video_core)
|
2014-04-29 02:40:39 +00:00
|
|
|
|
2017-05-28 01:26:55 +00:00
|
|
|
target_link_libraries(video_core PUBLIC common core)
|
2017-05-28 05:34:52 +00:00
|
|
|
target_link_libraries(video_core PRIVATE glad nihstro-headers)
|
2017-05-28 01:26:55 +00:00
|
|
|
|
2016-12-12 09:23:08 +00:00
|
|
|
if (ARCHITECTURE_x86_64)
|
2017-11-25 03:17:30 +00:00
|
|
|
target_link_libraries(video_core PUBLIC xbyak)
|
2016-12-12 09:23:08 +00:00
|
|
|
endif()
|