command buffer allocation
[vktest3] / src / vk.h
index 3f765ac..218e810 100644 (file)
--- a/src/vk.h
+++ b/src/vk.h
@@ -28,7 +28,10 @@ int vk_reshape(int xsz, int ysz);
 
 int vk_find_qfamily(unsigned int flags);
 VkQueue vk_getq_fam(int fam, int n);
-VkQueue vk_getq(unsigned int flags);
+VkQueue vk_getq(unsigned int flags, int n);
+
+VkCommandBuffer vk_create_cmdbuf_fam(int qfam, int level);
+VkCommandBuffer vk_create_cmdbuf(unsigned int qflags, int level);
 
 int vk_create_rpass(void);
 void vk_free_rpass(int rp);