projects
/
vktest3
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
foo
[vktest3]
/
src
/
vk.h
diff --git
a/src/vk.h
b/src/vk.h
index
f4187d3
..
cc58948
100644
(file)
--- a/
src/vk.h
+++ b/
src/vk.h
@@
-57,6
+57,9
@@
void vk_cleanup(void);
int vk_reshape(int xsz, int ysz);
int vk_reshape(int xsz, int ysz);
+/* returns the image index, or -1 on failure. Pass optional semaphore to signal */
+int vk_next_image(VkSemaphore sem);
+
int vk_find_qfamily(unsigned int flags);
VkQueue vk_getq_fam(int fam, int n);
VkQueue vk_getq(unsigned int flags, int n);
int vk_find_qfamily(unsigned int flags);
VkQueue vk_getq_fam(int fam, int n);
VkQueue vk_getq(unsigned int flags, int n);
@@
-103,4
+106,11
@@
void vk_pipeln_blend(int pp, int enable);
void vk_pipeln_blendfunc(int pp, int src, int dst);
VkPipeline vk_pipeln(int pp);
void vk_pipeln_blendfunc(int pp, int src, int dst);
VkPipeline vk_pipeln(int pp);
+VkShaderModule vk_load_shader(const char *fname);
+void vk_free_shader(VkShaderModule sdr);
+
+VkSemaphore vk_create_sem(void);
+void vk_free_sem(VkSemaphore sem);
+
+
#endif /* VK_H_ */
#endif /* VK_H_ */