mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-09 13:46:08 +01:00
3405b89494
This is part of a major refactoring process regarding DXGI->Vulkan format conversions. Since we don't patch format lookup tables any longer, we can create a global lookup table.
30 lines
802 B
Meson
30 lines
802 B
Meson
dxgi_shaders = files([
|
|
'shaders/dxgi_presenter_frag.frag',
|
|
'shaders/dxgi_presenter_vert.vert',
|
|
])
|
|
|
|
dxgi_src = [
|
|
'dxgi_adapter.cpp',
|
|
'dxgi_device.cpp',
|
|
'dxgi_enums.cpp',
|
|
'dxgi_factory.cpp',
|
|
'dxgi_format.cpp',
|
|
'dxgi_main.cpp',
|
|
'dxgi_output.cpp',
|
|
'dxgi_presenter.cpp',
|
|
'dxgi_swapchain.cpp',
|
|
]
|
|
|
|
dxgi_dll = shared_library('dxgi', dxgi_src, glsl_generator.process(dxgi_shaders),
|
|
name_prefix : '',
|
|
link_with : [ util_lib ],
|
|
dependencies : [ dxvk_dep ],
|
|
include_directories : dxvk_include_path,
|
|
install : true,
|
|
vs_module_defs : 'dxgi.def',
|
|
override_options : ['cpp_std='+dxvk_cpp_std])
|
|
|
|
dxgi_dep = declare_dependency(
|
|
link_with : [ dxgi_dll ],
|
|
include_directories : [ dxvk_include_path, include_directories('.') ])
|