mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
vk: Refactor some uber-headers
- VKHelpers was the rug everything was swept under for a long time. This commit essentially deprecates its usage across most of the backend.
This commit is contained in:
parent
9d74d42f2a
commit
c2cbc62be6
74 changed files with 3932 additions and 3760 deletions
|
|
@ -5,13 +5,14 @@
|
|||
#include "Utilities/Thread.h"
|
||||
|
||||
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||
#include "Emu/RSX/VK/VKHelpers.h"
|
||||
#include "Emu/RSX/VK/vkutils/instance.hpp"
|
||||
#endif
|
||||
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <util/logs.hpp>
|
||||
|
||||
LOG_CHANNEL(cfg_log, "CFG");
|
||||
|
||||
|
|
@ -39,11 +40,11 @@ render_creator::render_creator(QObject *parent) : QObject(parent)
|
|||
{
|
||||
thread_ctrl::set_native_priority(-1);
|
||||
|
||||
vk::context device_enum_context;
|
||||
if (device_enum_context.createInstance("RPCS3", true))
|
||||
vk::instance device_enum_context;
|
||||
if (device_enum_context.create("RPCS3", true))
|
||||
{
|
||||
device_enum_context.makeCurrentInstance();
|
||||
std::vector<vk::physical_device>& gpus = device_enum_context.enumerateDevices();
|
||||
device_enum_context.bind();
|
||||
std::vector<vk::physical_device>& gpus = device_enum_context.enumerate_devices();
|
||||
|
||||
if (!gpus.empty())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue