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:
parent
18fe910957
commit
8beca060d1
3 changed files with 351 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue