message: Initializer overloads for vector arguments
diff: #pragma once
  +#include <vector>
  #include "vulkan/vulkan.h"
  namespace vks
  @@ -222,6 +223,18 @@ namespace vks
  return descriptorPoolInfo;
  }
  + inline VkDescriptorPoolCreateInfo descriptorPoolCreateInfo(
  + const std::vector<VkDescriptorPoolSize>& poolSizes,
  + uint32_t maxSets)
  + {
  + VkDescriptorPoolCreateInfo descriptorPoolInfo{};
  + descriptorPoolInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
  + descriptorPoolInfo.poolSizeCount = static_cast<uint32_t>(poolSizes.size());
  + descriptorPoolInfo.pPoolSizes = poolSizes.data();
  + descriptorPoolInfo.maxSets = maxSets;
  + return descriptorPoolInfo;
  + }
  +
  inline VkDescriptorPoolSize descriptorPoolSize(
  VkDescriptorType type,
  uint32_t descriptorCount)
  @@ -257,6 +270,16 @@ namespace vks
  return descriptorSetLayoutCreateInfo;
  }
  + inline VkDescriptorSetLayoutCreateInfo descriptorSetLayoutCreateInfo(
  + const std::vector<VkDescriptorSetLayoutBinding>& bindings)
  + {
  + VkDescriptorSetLayoutCreateInfo descriptorSetLayoutCreateInfo{};
  + descriptorSetLayoutCreateInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO;
  + descriptorSetLayoutCreateInfo.pBindings = bindings.data();
  + descriptorSetLayoutCreateInfo.bindingCount = static_cast<uint32_t>(bindings.size());
  + return descriptorSetLayoutCreateInfo;
  + }
  +
  inline VkPipelineLayoutCreateInfo pipelineLayoutCreateInfo(
  const VkDescriptorSetLayout* pSetLayouts,
  uint32_t setLayoutCount = 1)
  @@ -467,6 +490,17 @@ namespace vks
  return pipelineDynamicStateCreateInfo;
  }
  + inline VkPipelineDynamicStateCreateInfo pipelineDynamicStateCreateInfo(
  + const std::vector<VkDynamicState>& pDynamicStates,
  + VkPipelineDynamicStateCreateFlags flags = 0)
  + {
  + VkPipelineDynamicStateCreateInfo pipelineDynamicStateCreateInfo{};
  + pipelineDynamicStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO;
  + pipelineDynamicStateCreateInfo.pDynamicStates = pDynamicStates.data();
  + pipelineDynamicStateCreateInfo.dynamicStateCount = static_cast<uint32_t>(pDynamicStates.size());
  + return pipelineDynamicStateCreateInfo;
  + }
  +
  inline VkPipelineTessellationStateCreateInfo pipelineTessellationStateCreateInfo(uint32_t patchControlPoints)
  {
  VkPipelineTessellationStateCreateInfo pipelineTessellationStateCreateInfo {};
  