diff options
Diffstat (limited to 'include/vk-api.hpp')
| -rw-r--r-- | include/vk-api.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vk-api.hpp b/include/vk-api.hpp index 5b869f7..22429fa 100644 --- a/include/vk-api.hpp +++ b/include/vk-api.hpp @@ -11,6 +11,7 @@ struct Buffer { VmaAllocation alloc; VmaAllocationInfo alloc_info; VkBuffer handle; + size_t size; }; struct Pipeline { @@ -82,7 +83,7 @@ class vkapi { Pipeline create_compute_pipeline(const char* shader_name, std::vector<VkDescriptorSetLayoutBinding>& bindings); - Pipeline create_graphics_pipeline(const char* shader_name, std::vector<VkDescriptorSetLayoutBinding>& bindings, VkShaderStageFlagBits shader_stages, VkRenderPass render_pass); + Pipeline create_graphics_pipeline(const char* shader_name, std::vector<VkDescriptorSetLayoutBinding>& bindings, VkShaderStageFlagBits shader_stages, VkRenderPass render_pass, std::vector<VkDynamicState> dynamic_states); void destroy_pipeline(Pipeline &pipeline); |
