summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_instance.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-27Vulkan: update initializationLiam1-7/+20
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2022-11-23general: fix compile for Apple ClangLiam1-0/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-19video_core: Reduce unused includesameerj1-2/+0
2021-02-13vulkan_instance: Initialize Vulkan instance in a separate threadReinUsesLisp1-1/+5
Workaround an issue on Nvidia where creating a Vulkan instance from an active OpenGL thread disables threaded optimization on the driver. This optimization is important to have good performance on Nvidia OpenGL.
2020-12-31vulkan_instance: Allow different Vulkan versions and enforce 1.1ReinUsesLisp1-9/+12
For listing the available physical devices we can use Vulkan 1.0. Now that MoltenVK supports 1.1 we can require it for running games. Add missing documentation.
2020-12-31renderer_vulkan: Throw when enumerating devices failsReinUsesLisp1-1/+1
Report device enumeration errors with exceptions to be consistent with other initialization related function calls. Reduces the amount of code to maintain.
2020-12-31renderer_vulkan: Create debug callback on separate file and throwReinUsesLisp1-9/+5
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.
2020-12-31renderer_vulkan: Move instance initialization to a separate fileReinUsesLisp1-0/+152
Simplify Vulkan's backend initialization code by moving it to a separate file, allowing us to initialize a Vulkan instance from different backends.