2019-12-16 04:28:01 +01:00
|
|
|
d3d9_res = wrc_generator.process('version.rc')
|
|
|
|
|
|
|
|
d3d9_shaders = files([
|
2020-02-24 07:39:25 +01:00
|
|
|
'shaders/d3d9_convert_yuy2_uyvy.comp',
|
2020-03-09 00:22:52 +01:00
|
|
|
'shaders/d3d9_convert_l6v5u5.comp',
|
2020-03-09 00:32:33 +01:00
|
|
|
'shaders/d3d9_convert_x8l8v8u8.comp',
|
2020-08-07 10:37:55 +02:00
|
|
|
'shaders/d3d9_convert_a2w10v10u10.comp',
|
2020-08-16 16:13:30 +02:00
|
|
|
'shaders/d3d9_convert_nv12.comp',
|
|
|
|
'shaders/d3d9_convert_yv12.comp'
|
2019-12-16 04:28:01 +01:00
|
|
|
])
|
|
|
|
|
|
|
|
d3d9_src = [
|
|
|
|
'd3d9_main.cpp',
|
|
|
|
'd3d9_interface.cpp',
|
|
|
|
'd3d9_adapter.cpp',
|
|
|
|
'd3d9_monitor.cpp',
|
|
|
|
'd3d9_device.cpp',
|
|
|
|
'd3d9_state.cpp',
|
|
|
|
'd3d9_cursor.cpp',
|
|
|
|
'd3d9_swapchain.cpp',
|
|
|
|
'd3d9_format.cpp',
|
|
|
|
'd3d9_common_texture.cpp',
|
2022-07-14 13:52:29 +02:00
|
|
|
'd3d9_constant_buffer.cpp',
|
2019-12-16 04:28:01 +01:00
|
|
|
'd3d9_texture.cpp',
|
|
|
|
'd3d9_surface.cpp',
|
|
|
|
'd3d9_volume.cpp',
|
|
|
|
'd3d9_common_buffer.cpp',
|
|
|
|
'd3d9_buffer.cpp',
|
|
|
|
'd3d9_shader.cpp',
|
|
|
|
'd3d9_vertex_declaration.cpp',
|
|
|
|
'd3d9_query.cpp',
|
|
|
|
'd3d9_multithread.cpp',
|
|
|
|
'd3d9_options.cpp',
|
|
|
|
'd3d9_stateblock.cpp',
|
|
|
|
'd3d9_sampler.cpp',
|
|
|
|
'd3d9_util.cpp',
|
|
|
|
'd3d9_initializer.cpp',
|
|
|
|
'd3d9_fixed_function.cpp',
|
|
|
|
'd3d9_names.cpp',
|
|
|
|
'd3d9_swvp_emu.cpp',
|
|
|
|
'd3d9_format_helpers.cpp',
|
2021-04-30 10:41:20 +02:00
|
|
|
'd3d9_hud.cpp',
|
2022-06-02 03:22:22 +02:00
|
|
|
'd3d9_annotation.cpp',
|
2022-08-14 19:15:44 +02:00
|
|
|
'd3d9_mem.cpp',
|
2022-09-21 21:48:55 +02:00
|
|
|
'd3d9_window.cpp',
|
|
|
|
'd3d9_interop.cpp'
|
2019-12-16 04:28:01 +01:00
|
|
|
]
|
|
|
|
|
2022-10-06 02:22:17 +02:00
|
|
|
d3d9_ld_args = []
|
|
|
|
d3d9_link_depends = []
|
|
|
|
|
|
|
|
if platform != 'windows'
|
|
|
|
d3d9_ld_args += [ '-Wl,--version-script', join_paths(meson.current_source_dir(), 'd3d9.sym') ]
|
|
|
|
d3d9_link_depends += files('d3d9.sym')
|
|
|
|
endif
|
|
|
|
|
2019-12-16 04:28:01 +01:00
|
|
|
d3d9_dll = shared_library('d3d9'+dll_ext, d3d9_src, glsl_generator.process(d3d9_shaders), d3d9_res,
|
2022-10-05 22:04:59 +02:00
|
|
|
name_prefix : dxvk_name_prefix,
|
2019-12-16 04:28:01 +01:00
|
|
|
dependencies : [ dxso_dep, dxvk_dep ],
|
|
|
|
include_directories : dxvk_include_path,
|
|
|
|
install : true,
|
|
|
|
vs_module_defs : 'd3d9'+def_spec_ext,
|
2022-10-06 02:22:17 +02:00
|
|
|
link_args : d3d9_ld_args,
|
|
|
|
link_depends : [ d3d9_link_depends ],
|
2022-02-22 23:34:02 +01:00
|
|
|
)
|
2019-12-16 04:28:01 +01:00
|
|
|
|
|
|
|
d3d9_dep = declare_dependency(
|
|
|
|
link_with : [ d3d9_dll ],
|
2022-02-22 23:34:02 +01:00
|
|
|
include_directories : [ dxvk_include_path ],
|
|
|
|
)
|