Move some things around to prepare for multiple pipelines

This commit is contained in:
Camden Dixie O'Brien committed 2025-10-04 00:26:43 +01:00
1 parent ea82627695
commit c24d3f4f27
5 files changed
+180 -179

No files matched your search

+3 -3
View File
@@ -28,13 +28,13 @@ typedef struct {
VkDeviceMemory depth_img_mem;
VkImageView depth_img_view;
VkFramebuffer framebuffers[MAX_FRAMES_IN_FLIGHT];
VkShaderModule vert_shader;
VkShaderModule model_vert_shader;
VkShaderModule frag_shader;
VkDescriptorSetLayout desc_set_layout;
VkDescriptorPool desc_pool;
VkPipelineLayout pipeline_layout;
VkRenderPass render_pass;
VkPipeline pipeline;
VkPipelineLayout model_pipeline_layout;
VkPipeline model_pipeline;
VkCommandPool cmd_pool;
VkCommandBuffer cmd_buf;
VkFence in_flight;