summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/wrapper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* {maxwell_3d,buffer_cache}: Implement memory barriers using 3D registersReinUsesLisp2020-04-281-0/+1
| | | | | | | | | | | | | Drop MemoryBarrier from the buffer cache and use Maxwell3D's register WaitForIdle. To implement this on OpenGL we just call glMemoryBarrier with the necessary bits. Vulkan lacks this synchronization primitive, so we set an event and immediately wait for it. This is not a pretty solution, but it's what Vulkan can do without submitting the current command buffer to the queue (which ends up being more expensive on the CPU).
* Merge pull request #3721 from ReinUsesLisp/sort-devicesbunnei2020-04-251-1/+20
|\ | | | | vulkan/wrapper: Sort physical devices
| * vulkan/wrapper: Sort physical devicesReinUsesLisp2020-04-191-1/+20
| | | | | | | | | | | | | | | | | | | | Sort discrete GPUs over the rest, Nvidia over AMD, AMD over Intel, Intel over the rest. This gives us a somewhat consistent order when Optimus is removed (renderdoc does this when it's attached). This can break the configuration of users with an Intel GPU that manually remove Optimus on yuzu. That said, it's a very unlikely to happen.
* | Merge pull request #3677 from FernandoS27/better-syncbunnei2020-04-231-0/+18
|\ \ | | | | | | Introduce Predictive Flushing and Improve ASYNC GPU
| * | vk_fence_manager: Initial implementationReinUsesLisp2020-04-221-0/+18
| |/
* | renderer_vulkan: Integrate Nvidia Nsight Aftermath on WindowsReinUsesLisp2020-04-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds optional support for Nsight Aftermath. It is enabled through ENABLE_NSIGHT_AFTERMATH in cmake. A path to the SDK has to be provided by the environment variable NSIGHT_AFTERMATH_SDK. Nsight Aftermath allows an application to generate "minidumps" of the GPU state when a device loss happens. By analysing these on Nsight we can know what a game was doing and why it triggered a device loss. The dump is generated inside %APPDATA%\yuzu\log\gpucrash and this directory is deleted every time a new instance is initialized with Nsight enabled. To enable it on yuzu there has a to be a driver and device capable of running Nsight Aftermath on Vulkan. That means only Turing based GPUs on the latest stable driver, beta drivers won't work for now. It is manually enabled in Configuration>Debug>Enable Graphics Debugging because when using all debugging capabilities there is a runtime cost.
* | renderer_vulkan: Remove Nvidia checkpointsReinUsesLisp2020-04-131-13/+0
|/
* renderer_vulkan/wrapper: Add vkEnumerateInstanceExtensionProperties wrapperReinUsesLisp2020-04-011-0/+14
|
* renderer_vulkan/wrapper: Add physical device handleReinUsesLisp2020-04-011-0/+83
|
* renderer_vulkan/wrapper: Add device handleReinUsesLisp2020-04-011-0/+182
|
* renderer_vulkan/wrapper: Add swapchain handleReinUsesLisp2020-04-011-0/+8
|
* renderer_vulkan/wrapper: Add pool handlesReinUsesLisp2020-04-011-0/+32
|
* renderer_vulkan/wrapper: Add buffer and image handlesReinUsesLisp2020-04-011-0/+8
|
* renderer_vulkan/wrapper: Add queue handleReinUsesLisp2020-04-011-0/+11
|
* renderer_vulkan/wrapper: Add instance handleReinUsesLisp2020-04-011-0/+70
|
* renderer_vulkan/wrapper: Add destroy and free overload setReinUsesLisp2020-03-271-0/+105
|
* renderer_vulkan/wrapper: Add dispatch table and loadersReinUsesLisp2020-03-271-0/+146
|
* renderer_vulkan/wrapper: Add exception classReinUsesLisp2020-03-271-0/+4
|
* renderer_vulkan/wrapper: Add ToString function for VkResultReinUsesLisp2020-03-271-0/+87