2018-01-17 16:37:34 -08:00
|
|
|
add_library(video_core STATIC
|
2018-11-23 20:20:56 -08:00
|
|
|
dma_pusher.cpp
|
|
|
|
dma_pusher.h
|
2018-03-22 13:19:35 -07:00
|
|
|
debug_utils/debug_utils.cpp
|
|
|
|
debug_utils/debug_utils.h
|
2018-02-11 18:34:20 -08:00
|
|
|
engines/fermi_2d.cpp
|
|
|
|
engines/fermi_2d.h
|
2019-01-22 15:49:31 -08:00
|
|
|
engines/kepler_compute.cpp
|
|
|
|
engines/kepler_compute.h
|
2018-09-08 13:58:20 -07:00
|
|
|
engines/kepler_memory.cpp
|
|
|
|
engines/kepler_memory.h
|
2018-02-11 18:34:20 -08:00
|
|
|
engines/maxwell_3d.cpp
|
|
|
|
engines/maxwell_3d.h
|
2018-06-10 15:02:33 -07:00
|
|
|
engines/maxwell_dma.cpp
|
|
|
|
engines/maxwell_dma.h
|
2018-04-04 18:43:40 -07:00
|
|
|
engines/shader_bytecode.h
|
2018-09-10 18:00:55 -07:00
|
|
|
engines/shader_header.h
|
2018-03-18 13:15:05 -07:00
|
|
|
gpu.cpp
|
2018-02-11 20:44:12 -08:00
|
|
|
gpu.h
|
2019-02-08 20:21:53 -08:00
|
|
|
gpu_asynch.cpp
|
|
|
|
gpu_asynch.h
|
|
|
|
gpu_synch.cpp
|
|
|
|
gpu_synch.h
|
2019-01-23 19:17:55 -08:00
|
|
|
gpu_thread.cpp
|
|
|
|
gpu_thread.h
|
2018-03-28 13:14:47 -07:00
|
|
|
macro_interpreter.cpp
|
|
|
|
macro_interpreter.h
|
2018-02-11 20:44:12 -08:00
|
|
|
memory_manager.cpp
|
|
|
|
memory_manager.h
|
2018-11-24 18:53:17 -08:00
|
|
|
morton.cpp
|
|
|
|
morton.h
|
2018-11-07 21:31:35 -08:00
|
|
|
rasterizer_cache.cpp
|
2018-08-23 12:38:57 -07:00
|
|
|
rasterizer_cache.h
|
2018-03-19 20:00:59 -07:00
|
|
|
rasterizer_interface.h
|
2018-01-17 16:37:34 -08:00
|
|
|
renderer_base.cpp
|
|
|
|
renderer_base.h
|
2018-08-28 15:27:03 -07:00
|
|
|
renderer_opengl/gl_buffer_cache.cpp
|
2018-09-06 11:49:49 -07:00
|
|
|
renderer_opengl/gl_buffer_cache.h
|
2019-01-08 12:30:10 -08:00
|
|
|
renderer_opengl/gl_global_cache.cpp
|
|
|
|
renderer_opengl/gl_global_cache.h
|
2018-10-02 10:47:26 -07:00
|
|
|
renderer_opengl/gl_primitive_assembler.cpp
|
|
|
|
renderer_opengl/gl_primitive_assembler.h
|
2018-03-19 20:00:59 -07:00
|
|
|
renderer_opengl/gl_rasterizer.cpp
|
|
|
|
renderer_opengl/gl_rasterizer.h
|
2018-03-19 14:45:22 -07:00
|
|
|
renderer_opengl/gl_rasterizer_cache.cpp
|
|
|
|
renderer_opengl/gl_rasterizer_cache.h
|
2018-11-06 01:40:49 -08:00
|
|
|
renderer_opengl/gl_resource_manager.cpp
|
2018-01-17 16:37:34 -08:00
|
|
|
renderer_opengl/gl_resource_manager.h
|
2018-08-23 14:30:27 -07:00
|
|
|
renderer_opengl/gl_shader_cache.cpp
|
|
|
|
renderer_opengl/gl_shader_cache.h
|
2018-12-25 20:57:14 -08:00
|
|
|
renderer_opengl/gl_shader_decompiler.cpp
|
|
|
|
renderer_opengl/gl_shader_decompiler.h
|
2019-01-13 17:36:52 -08:00
|
|
|
renderer_opengl/gl_shader_disk_cache.cpp
|
|
|
|
renderer_opengl/gl_shader_disk_cache.h
|
2018-03-19 17:55:14 -07:00
|
|
|
renderer_opengl/gl_shader_gen.cpp
|
|
|
|
renderer_opengl/gl_shader_gen.h
|
2018-04-07 02:12:38 -07:00
|
|
|
renderer_opengl/gl_shader_manager.cpp
|
|
|
|
renderer_opengl/gl_shader_manager.h
|
2018-01-17 16:37:34 -08: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 14:10:59 -07:00
|
|
|
renderer_opengl/gl_stream_buffer.cpp
|
|
|
|
renderer_opengl/gl_stream_buffer.h
|
2018-03-24 18:09:30 -07:00
|
|
|
renderer_opengl/maxwell_to_gl.h
|
2018-01-17 16:37:34 -08:00
|
|
|
renderer_opengl/renderer_opengl.cpp
|
|
|
|
renderer_opengl/renderer_opengl.h
|
2018-10-28 17:54:08 -07:00
|
|
|
renderer_opengl/utils.cpp
|
|
|
|
renderer_opengl/utils.h
|
2018-12-20 14:09:21 -08: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
|
2019-02-21 21:19:45 -08:00
|
|
|
shader/decode/texture.cpp
|
2018-12-20 14:09:21 -08:00
|
|
|
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-23 20:23:00 -08:00
|
|
|
shader/decode/video.cpp
|
2018-12-20 14:09:21 -08:00
|
|
|
shader/decode/xmad.cpp
|
|
|
|
shader/decode/other.cpp
|
|
|
|
shader/decode.cpp
|
|
|
|
shader/shader_ir.cpp
|
|
|
|
shader/shader_ir.h
|
2018-12-28 21:44:54 -08:00
|
|
|
shader/track.cpp
|
2018-10-28 18:14:25 -07:00
|
|
|
surface.cpp
|
|
|
|
surface.h
|
2018-06-17 20:50:44 -07:00
|
|
|
textures/astc.cpp
|
|
|
|
textures/astc.h
|
2019-02-23 17:45:47 -08:00
|
|
|
textures/convert.cpp
|
|
|
|
textures/convert.h
|
2018-03-19 16:00:29 -07:00
|
|
|
textures/decoders.cpp
|
|
|
|
textures/decoders.h
|
|
|
|
textures/texture.h
|
2018-01-17 16:37:34 -08:00
|
|
|
video_core.cpp
|
|
|
|
video_core.h
|
|
|
|
)
|
2014-04-05 13:04:25 -07:00
|
|
|
|
2019-02-12 13:01:40 -08:00
|
|
|
if (ENABLE_VULKAN)
|
2019-02-12 13:28:05 -08:00
|
|
|
target_sources(video_core PRIVATE
|
|
|
|
renderer_vulkan/declarations.h
|
2019-03-02 13:34:11 -08:00
|
|
|
renderer_vulkan/maxwell_to_vk.cpp
|
|
|
|
renderer_vulkan/maxwell_to_vk.h
|
2019-02-27 19:49:28 -08:00
|
|
|
renderer_vulkan/vk_buffer_cache.cpp
|
|
|
|
renderer_vulkan/vk_buffer_cache.h
|
2019-02-12 13:28:05 -08:00
|
|
|
renderer_vulkan/vk_device.cpp
|
2019-02-14 07:52:46 -08:00
|
|
|
renderer_vulkan/vk_device.h
|
2019-02-18 19:46:06 -08:00
|
|
|
renderer_vulkan/vk_memory_manager.cpp
|
|
|
|
renderer_vulkan/vk_memory_manager.h
|
2019-02-14 07:52:46 -08:00
|
|
|
renderer_vulkan/vk_resource_manager.cpp
|
2019-02-21 20:27:25 -08:00
|
|
|
renderer_vulkan/vk_resource_manager.h
|
2019-03-12 12:57:03 -07:00
|
|
|
renderer_vulkan/vk_sampler_cache.cpp
|
|
|
|
renderer_vulkan/vk_sampler_cache.h
|
2019-02-21 20:27:25 -08:00
|
|
|
renderer_vulkan/vk_scheduler.cpp
|
2019-02-23 23:22:33 -08:00
|
|
|
renderer_vulkan/vk_scheduler.h
|
|
|
|
renderer_vulkan/vk_stream_buffer.cpp
|
2019-03-28 19:58:43 -07:00
|
|
|
renderer_vulkan/vk_stream_buffer.h
|
|
|
|
renderer_vulkan/vk_swapchain.cpp
|
|
|
|
renderer_vulkan/vk_swapchain.h)
|
2019-02-12 13:01:40 -08:00
|
|
|
|
|
|
|
target_include_directories(video_core PRIVATE ../../externals/Vulkan-Headers/include)
|
|
|
|
target_compile_definitions(video_core PRIVATE HAS_VULKAN)
|
|
|
|
endif()
|
|
|
|
|
2018-01-17 16:37:34 -08:00
|
|
|
create_target_directory_groups(video_core)
|
2014-08-23 18:22:05 -07:00
|
|
|
|
2017-05-27 18:26:55 -07:00
|
|
|
target_link_libraries(video_core PUBLIC common core)
|
2019-02-07 09:28:06 -08:00
|
|
|
target_link_libraries(video_core PRIVATE glad)
|