summaryrefslogtreecommitdiffstats
path: root/validation.h
diff options
context:
space:
mode:
Diffstat (limited to 'validation.h')
-rw-r--r--validation.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/validation.h b/validation.h
new file mode 100644
index 0000000..44b1096
--- /dev/null
+++ b/validation.h
@@ -0,0 +1,18 @@
+#ifndef VULKAN_VALIDATION_H
+#define VULKAN_VALIDATION_H
+
+#include <stdint.h>
+
+#include "strlist.h"
+
+#ifdef WITH_VALIDATION
+void validation_info(struct strlist *layers, struct strlist *exts);
+void *validation_createcb(VkInstance inst);
+void validation_destroycb(VkInstance inst, void *cb);
+#else
+#define validation_info(a, b)
+#define validation_createcb(a) (NULL)
+#define validation_destroycb(a, b)
+#endif
+
+#endif // VULKAN_VALIDATION_H