summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_wrapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vk_staging_buffer_pool: Add stream buffer for small uploadsReinUsesLisp2021-02-131-5/+15
| | | | | | | | This uses a ring buffer similar to OpenGL's stream buffer for small uploads. This stops us from allocating several small buffers, reducing memory fragmentation and cache locality. It uses dedicated allocations when possible.
* vulkan_wrapper: Add interop functionsReinUsesLisp2021-02-131-0/+30
|
* renderer_vulkan: Remove two step initialization on VKDeviceReinUsesLisp2020-12-311-5/+2
| | | | | The Vulkan device abstraction either initializes successfully on the constructor or throws a Vulkan exception.
* renderer_vulkan: Throw when enumerating devices failsReinUsesLisp2020-12-311-8/+4
| | | | | | 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-30/+9
| | | | | | | | 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.
* vulkan_common: Rename renderer_vulkan/wrapper.h to vulkan_common/vulkan_wrapper.hReinUsesLisp2020-12-311-0/+928
Allows sharing Vulkan wrapper code between different rendering backends.