vk_rpass
[vktest3] / src / vk.h
index 4e94784..3322f14 100644 (file)
--- a/src/vk.h
+++ b/src/vk.h
@@ -2,6 +2,7 @@
 #define VK_H_
 
 #include <X11/Xlib.h>
+#include <vulkan/vulkan.h>
 
 enum {
        VKINIT_DEPTH    = 1,
@@ -20,6 +21,7 @@ int vk_create_rpass(void);
 void vk_free_rpass(int rp);
 void vk_rpass_colorbuf(int rp, int fmt, int n);
 void vk_rpass_msaa(int rp, int nsamp);
+void vk_rpass_clear(int rp, int clear);
 VkRenderPass vk_rpass(int rp);