Emudreams(1996) NEWS FROM 60 DAYS MUSEUM

PCSX2 gets Vulkan [150][powerzx], 2022-01-15 15:34:00

[Source: https://github.com/PCSX2/pcsx2/pull/5224]

Description of Changes
What the title says :)

Been working on this for a while, but it would be nice to get some testing from a wider range of devices. Originally it was tied to the Qt PRs, but I have moved the commits around so it is qt-base-2 > vulkan -> full qt interface.

The main advantages to Vulkan over Direct3D/GL:

Speed. Vulkan can do handle high blending loads where even NVIDIA`s GL driver struggles.
In theory, more efficient than D3D/GL.
Scary line count is due to pulling in VulkanMemoryAllocator and the vulkan headers.

A note for anyone trying to start silly licensing drama: Yes, some of the wrapper code is originally from Dolphin and then Duckstation. In the former case, it is not the most recent code, it is based on the original code I myself contributed back in 2016, with large modifications, and I never signed a CLA. So I still have copyright over it and can re-license as I see fit (to LGPL here).

Suggested Testing Steps
Try blending games :) I have only been working on AMD for a while, hopefully the performance is still good on NVIDIA. No idea about Intel.

Currently, AMD is much slower than NVIDIA for blending. See refraction`s post here: https://community.amd.com/t5/opengl-vulkan/vulkan-poor-performance-due-to-barrier-region-bit-being-ignored/td-p/501962

.. but it is still twice as fast as OpenGL on AMD :)