2018-01-17 19:37:34 -05:00
|
|
|
add_library(video_core STATIC
|
2018-11-23 23:20:56 -05:00
|
|
|
dma_pusher.cpp
|
|
|
|
dma_pusher.h
|
2018-03-22 15:19:35 -05:00
|
|
|
debug_utils/debug_utils.cpp
|
|
|
|
debug_utils/debug_utils.h
|
2018-02-11 21:34:20 -05:00
|
|
|
engines/fermi_2d.cpp
|
|
|
|
engines/fermi_2d.h
|
2018-09-08 15:58:20 -05:00
|
|
|
engines/kepler_memory.cpp
|
|
|
|
engines/kepler_memory.h
|
2018-02-11 21:34:20 -05:00
|
|
|
engines/maxwell_3d.cpp
|
|
|
|
engines/maxwell_3d.h
|
|
|
|
engines/maxwell_compute.cpp
|
|
|
|
engines/maxwell_compute.h
|
2018-06-10 17:02:33 -05:00
|
|
|
engines/maxwell_dma.cpp
|
|
|
|
engines/maxwell_dma.h
|
2018-04-04 21:43:40 -04:00
|
|
|
engines/shader_bytecode.h
|
2018-09-10 21:00:55 -04:00
|
|
|
engines/shader_header.h
|
2018-03-18 15:15:05 -05:00
|
|
|
gpu.cpp
|
2018-02-11 23:44:12 -05:00
|
|
|
gpu.h
|
2018-03-28 15:14:47 -05:00
|
|
|
macro_interpreter.cpp
|
|
|
|
macro_interpreter.h
|
2018-02-11 23:44:12 -05:00
|
|
|
memory_manager.cpp
|
|
|
|
memory_manager.h
|
2018-11-24 23:53:17 -03:00
|
|
|
morton.cpp
|
|
|
|
morton.h
|
2018-11-08 00:31:35 -05:00
|
|
|
rasterizer_cache.cpp
|
2018-08-23 15:38:57 -04:00
|
|
|
rasterizer_cache.h
|
2018-03-19 23:00:59 -04:00
|
|
|
rasterizer_interface.h
|
2018-01-17 19:37:34 -05:00
|
|
|
renderer_base.cpp
|
|
|
|
renderer_base.h
|
2018-08-29 00:27:03 +02:00
|
|
|
renderer_opengl/gl_buffer_cache.cpp
|
2018-09-06 14:49:49 -04:00
|
|
|
renderer_opengl/gl_buffer_cache.h
|
2019-01-08 17:30:10 -03:00
|
|
|
renderer_opengl/gl_global_cache.cpp
|
|
|
|
renderer_opengl/gl_global_cache.h
|
2018-10-02 14:47:26 -03:00
|
|
|
renderer_opengl/gl_primitive_assembler.cpp
|
|
|
|
renderer_opengl/gl_primitive_assembler.h
|
2018-03-19 23:00:59 -04:00
|
|
|
renderer_opengl/gl_rasterizer.cpp
|
|
|
|
renderer_opengl/gl_rasterizer.h
|
2018-03-19 17:45:22 -04:00
|
|
|
renderer_opengl/gl_rasterizer_cache.cpp
|
|
|
|
renderer_opengl/gl_rasterizer_cache.h
|
2018-11-06 10:40:49 +01:00
|
|
|
renderer_opengl/gl_resource_manager.cpp
|
2018-01-17 19:37:34 -05:00
|
|
|
renderer_opengl/gl_resource_manager.h
|
2018-08-23 17:30:27 -04:00
|
|
|
renderer_opengl/gl_shader_cache.cpp
|
|
|
|
renderer_opengl/gl_shader_cache.h
|
2018-12-26 01:57:14 -03:00
|
|
|
renderer_opengl/gl_shader_decompiler.cpp
|
|
|
|
renderer_opengl/gl_shader_decompiler.h
|
2019-01-13 22:36:52 -03:00
|
|
|
renderer_opengl/gl_shader_disk_cache.cpp
|
|
|
|
renderer_opengl/gl_shader_disk_cache.h
|
2018-03-19 20:55:14 -04:00
|
|
|
renderer_opengl/gl_shader_gen.cpp
|
|
|
|
renderer_opengl/gl_shader_gen.h
|
2018-04-07 05:12:38 -04:00
|
|
|
renderer_opengl/gl_shader_manager.cpp
|
|
|
|
renderer_opengl/gl_shader_manager.h
|
2018-01-17 19:37:34 -05:00
|
|
|
renderer_opengl/gl_shader_util.cpp
|
|
|
|
renderer_opengl/gl_shader_util.h
|
|
|
|
renderer_opengl/gl_state.cpp
|
|
|
|
renderer_opengl/gl_state.h
|
2018-03-19 17:10:59 -04:00
|
|
|
renderer_opengl/gl_stream_buffer.cpp
|
|
|
|
renderer_opengl/gl_stream_buffer.h
|
2018-03-24 21:09:30 -04:00
|
|
|
renderer_opengl/maxwell_to_gl.h
|
2018-01-17 19:37:34 -05:00
|
|
|
renderer_opengl/renderer_opengl.cpp
|
|
|
|
renderer_opengl/renderer_opengl.h
|
2018-10-28 21:54:08 -03:00
|
|
|
renderer_opengl/utils.cpp
|
|
|
|
renderer_opengl/utils.h
|
2018-12-20 19:09:21 -03:00
|
|
|
shader/decode/arithmetic.cpp
|
|
|
|
shader/decode/arithmetic_immediate.cpp
|
|
|
|
shader/decode/bfe.cpp
|
|
|
|
shader/decode/bfi.cpp
|
|
|
|
shader/decode/shift.cpp
|
|
|
|
shader/decode/arithmetic_integer.cpp
|
|
|
|
shader/decode/arithmetic_integer_immediate.cpp
|
|
|
|
shader/decode/arithmetic_half.cpp
|
|
|
|
shader/decode/arithmetic_half_immediate.cpp
|
|
|
|
shader/decode/ffma.cpp
|
|
|
|
shader/decode/hfma2.cpp
|
|
|
|
shader/decode/conversion.cpp
|
|
|
|
shader/decode/memory.cpp
|
|
|
|
shader/decode/float_set_predicate.cpp
|
|
|
|
shader/decode/integer_set_predicate.cpp
|
|
|
|
shader/decode/half_set_predicate.cpp
|
|
|
|
shader/decode/predicate_set_register.cpp
|
|
|
|
shader/decode/predicate_set_predicate.cpp
|
|
|
|
shader/decode/register_set_predicate.cpp
|
|
|
|
shader/decode/float_set.cpp
|
|
|
|
shader/decode/integer_set.cpp
|
|
|
|
shader/decode/half_set.cpp
|
2018-12-24 01:23:00 -03:00
|
|
|
shader/decode/video.cpp
|
2018-12-20 19:09:21 -03:00
|
|
|
shader/decode/xmad.cpp
|
|
|
|
shader/decode/other.cpp
|
|
|
|
shader/decode.cpp
|
|
|
|
shader/shader_ir.cpp
|
|
|
|
shader/shader_ir.h
|
2018-12-29 02:44:54 -03:00
|
|
|
shader/track.cpp
|
2018-10-28 22:14:25 -03:00
|
|
|
surface.cpp
|
|
|
|
surface.h
|
2018-06-17 23:50:44 -04:00
|
|
|
textures/astc.cpp
|
|
|
|
textures/astc.h
|
2018-03-19 18:00:29 -05:00
|
|
|
textures/decoders.cpp
|
|
|
|
textures/decoders.h
|
|
|
|
textures/texture.h
|
2018-01-17 19:37:34 -05:00
|
|
|
video_core.cpp
|
|
|
|
video_core.h
|
|
|
|
)
|
2014-04-05 16:04:25 -04:00
|
|
|
|
2019-02-12 18:01:40 -03:00
|
|
|
if (ENABLE_VULKAN)
|
|
|
|
target_sources(video_core PRIVATE renderer_vulkan/declarations.h)
|
|
|
|
|
|
|
|
target_include_directories(video_core PRIVATE ../../externals/Vulkan-Headers/include)
|
|
|
|
target_compile_definitions(video_core PRIVATE HAS_VULKAN)
|
|
|
|
endif()
|
|
|
|
|
2018-01-17 19:37:34 -05:00
|
|
|
create_target_directory_groups(video_core)
|
2014-08-23 22:22:05 -03:00
|
|
|
|
2017-05-27 18:26:55 -07:00
|
|
|
target_link_libraries(video_core PUBLIC common core)
|
2019-01-15 01:48:29 -03:00
|
|
|
target_link_libraries(video_core PRIVATE glad lz4_static)
|