diff options
Diffstat (limited to 'render/vulkan/device.h')
-rw-r--r-- | render/vulkan/device.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/render/vulkan/device.h b/render/vulkan/device.h index 6bdd4f5..e498137 100644 --- a/render/vulkan/device.h +++ b/render/vulkan/device.h @@ -34,18 +34,17 @@ struct vkswapchain_data { uint32_t present_count; }; +struct vkqueue { + uint32_t index; + uint32_t qfam; + VkQueue handle; +}; + struct vkdev { VkPhysicalDevice pdev; VkDevice ldev; struct vkswapchain_data scdata; - uint32_t gfx_index; - uint32_t pres_index; - uint32_t tsfr_index; - uint32_t comp_index; - VkQueue gfx_queue; - VkQueue pres_queue; - VkQueue tsfr_queue; - VkQueue comp_queue; + struct vkqueue queues[4]; VkCommandPool cmd_pool; VkFormat depth_format; }; |