summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_instance.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vulkan_instance: Initialize Vulkan instance in a separate threadReinUsesLisp2021-02-131-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.
* vulkan_instance: Allow different Vulkan versions and enforce 1.1ReinUsesLisp2020-12-311-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.
* renderer_vulkan: Throw when enumerating devices failsReinUsesLisp2020-12-311-1/+1
| | | | | | Report device enumeration errors with exceptions to be consistent with other initialization related function calls. Reduces the amount of code to maintain.
* renderer_vulkan: Create debug callback on separate file and throwReinUsesLisp2020-12-311-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.
* renderer_vulkan: Move instance initialization to a separate fileReinUsesLisp2020-12-311-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.