mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-26 23:47:52 -05:00
vk_device: Abstract device handling into a class
VKDevice contains all the data required to manage and initialize a physical device. Its intention is to be passed across Vulkan objects to query device-specific data (for example the logical device and the dispatch loader).
This commit is contained in:
@ -102,7 +102,10 @@ add_library(video_core STATIC
|
||||
)
|
||||
|
||||
if (ENABLE_VULKAN)
|
||||
target_sources(video_core PRIVATE renderer_vulkan/declarations.h)
|
||||
target_sources(video_core PRIVATE
|
||||
renderer_vulkan/declarations.h
|
||||
renderer_vulkan/vk_device.cpp
|
||||
renderer_vulkan/vk_device.h)
|
||||
|
||||
target_include_directories(video_core PRIVATE ../../externals/Vulkan-Headers/include)
|
||||
target_compile_definitions(video_core PRIVATE HAS_VULKAN)
|
||||
|
Reference in New Issue
Block a user