mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 21:58:45 +00:00
vulkanCreateQueues
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
#pragma once
|
||||
#include <types.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <emulator.h>
|
||||
#include "Lib/Threads.h"
|
||||
|
||||
namespace HLE::Libs::Graphics {
|
||||
|
||||
struct VulkanQueueInfo {
|
||||
Lib::Mutex* mutex = nullptr;
|
||||
u32 family = static_cast<u32>(-1);
|
||||
u32 index = static_cast<u32>(-1);
|
||||
VkQueue vk_queue = nullptr;
|
||||
};
|
||||
|
||||
struct GraphicCtx {
|
||||
u32 screen_width = 0;
|
||||
u32 screen_height = 0;
|
||||
VkInstance m_instance = nullptr;
|
||||
VkPhysicalDevice m_physical_device = nullptr;
|
||||
VkDevice m_device = nullptr;
|
||||
VulkanQueueInfo queues[11]; //VULKAN_QUEUES_NUM
|
||||
};
|
||||
} // namespace HLE::Libs::Graphics
|
||||
Reference in New Issue
Block a user