From 364eea8654a69dd0e79cdfa86c10992e6e275ccd Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 28 Feb 2018 00:35:15 +0000 Subject: init commit --- validation.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 validation.h (limited to 'validation.h') 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 + +#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 -- cgit v1.2.3-54-g00ecf