more work on vulkan queues

This commit is contained in:
georgemoralis 2023-09-20 14:19:20 +03:00
parent 48ae687191
commit 3768dfabfc
3 changed files with 43 additions and 12 deletions

View file

@ -24,10 +24,23 @@ struct VulkanSurfaceCapabilities {
bool is_format_unorm_bgra32 = false;
};
struct VulkanQueueInfo {
u32 family = 0;
u32 index = 0;
bool is_graphics = false;
bool is_compute = false;
bool is_transfer = false;
bool is_present = false;
};
struct VulkanQueues {
u32 family_count = 0;
std::vector<VulkanQueueInfo> available;
std::vector<VulkanQueueInfo> graphics;
std::vector<u32> family_used;
};
struct WindowCtx {
HLE::Libs::Graphics::GraphicCtx m_graphic_ctx;
Lib::Mutex m_mutex;