aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/vk_layer.c
diff options
context:
space:
mode:
authorJuan Ramos <[email protected]>2022-12-20 15:11:39 -0700
committerJuan Ramos <[email protected]>2022-12-20 15:15:25 -0700
commit43946b0febc78952aebd2559b5222080b1e48ef3 (patch)
tree1ac9c55bb6d2b9ae8f5b281d2954c58d568030ef /tests/vk_layer.c
parent1401f7a3b3db5f8092adc83fdfffe79251e2ede4 (diff)
downloadVulkan-Headers-43946b0febc78952aebd2559b5222080b1e48ef3.tar.gz
Vulkan-Headers-43946b0febc78952aebd2559b5222080b1e48ef3.zip
tests: Test Non-API headers
Ensures the non-API headers compile correctly
Diffstat (limited to 'tests/vk_layer.c')
-rw-r--r--tests/vk_layer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/vk_layer.c b/tests/vk_layer.c
new file mode 100644
index 0000000..660d29b
--- /dev/null
+++ b/tests/vk_layer.c
@@ -0,0 +1,7 @@
+#include "vulkan/vk_layer.h"
+
+// Use helper macro intended for vulkan layers to export functions
+VK_LAYER_EXPORT int foobar()
+{
+ return 0;
+}