mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-08 07:28:45 +01:00
renderer_vulkan: Create debug callback on separate file and throw
Initialize debug callbacks (messenger) from a separate file. This allows sharing code with different backends. Change our Vulkan error handling to use exceptions instead of error codes, simplifying the initialization process.
This commit is contained in:
parent
25f88d99ce
commit
47843b4f09
8 changed files with 88 additions and 79 deletions
|
|
@ -258,6 +258,8 @@ add_library(video_core STATIC
|
|||
textures/texture.h
|
||||
video_core.cpp
|
||||
video_core.h
|
||||
vulkan_common/vulkan_debug_callback.cpp
|
||||
vulkan_common/vulkan_debug_callback.h
|
||||
vulkan_common/vulkan_instance.cpp
|
||||
vulkan_common/vulkan_instance.h
|
||||
vulkan_common/vulkan_library.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue