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