backup - missing some
[demo] / src / vulkan / vkutil.h
index 775fd27..bfe38f5 100644 (file)
@@ -12,7 +12,6 @@ extern VkSwapchainKHR vk_swapchain;
 extern VkSurfaceKHR vk_surface;
 extern VkInstance vk_instance;
 extern int vk_qfamily;
-extern VkDescriptorPool vk_dpool;
 extern VkRenderPass vk_renderpass;
 
 struct vku_buffer {
@@ -29,37 +28,6 @@ struct vku_descriptor {
        int size;
 };
 
-struct vku_pipeline {
-};
-
-struct vku_pipeline_info {
-       /* shader stages */
-       VkShaderModule vs;
-       VkShaderModule fs;
-
-       /* states info */
-
-       VkPipelineShaderStageCreateInfo inf_shader_stage;
-
-       VkPipelineVertexInputStateCreateInfo inf_vertex_input;
-
-       VkPipelineInputAssemblyStateCreateInfo inf_input_asm;
-
-       VkPipelineTessellationStateCreateInfo inf_tessel;
-
-       VkPipelineViewportStateCreateInfo inf_viewport;
-       VkPipelineRasterizationStateCreateInfo inf_raster;
-       VkPipelineMultisampleStateCreateInfo inf_multisample;
-       VkPipelineDepthStencilStateCreateInfo inf_depth_stencil;
-       VkPipelineColorBlendStateCreateInfo inf_colorblend;
-
-       VkPipelineDynamicStateCreateInfo inf_dynamic_state;
-
-       VkPipelineLayout layout;
-       VkRenderPass renderpass;
-       uint32_t subpass;
-};
-
 /* extensions */
 bool vku_have_extension(const char *name);
 bool vku_have_device_extension(const char *name);
@@ -102,6 +70,8 @@ void vku_destroy_descriptor(vku_descriptor *descriptor);
 
 bool vku_create_descriptor_pool(vku_descriptor **descriptors, int num_desc,
                VkDescriptorSet set);
-void vku_destroy_descriptor_pool();
+
+/*
+void vku_destroy_descriptor_pool();*/
 
 #endif // VKUTIL_H_