3 #include <kiba/containers/array.h>
4 #include <kiba/core/types.h>
5 #include <kiba/gpu/enums.h>
6 #include <kiba/gpu/limits.h>
7 #include <vulkan/vulkan.h>
14 VkSwapchainKHR swap_chain;
15 u32 presentation_image_index;
18 VkFence fc_image_aquire;
23 VkDeviceMemory memory;
31 VkCommandBuffer buffer;
38 VkSemaphore sp_relays[2];
41 VkCommandPool command_pool;
48 enum gpu_texture_use usage;
49 enum gpu_texture_format format;
63 enum gpu_attachment_ops ops;
74 enum gpu_attachment_ops stencil_ops;
96 VkPhysicalDevice physical;
110 typedef VkDescriptorSetLayout gpu_bind_group_layout;
113 VkPipelineLayout raw;
122 VkDeviceMemory memory;