summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan/registry/generate_headers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/vulkan/registry/generate_headers.sh')
-rwxr-xr-xthirdparty/vulkan/registry/generate_headers.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/thirdparty/vulkan/registry/generate_headers.sh b/thirdparty/vulkan/registry/generate_headers.sh
new file mode 100755
index 0000000000..ffd8e610b7
--- /dev/null
+++ b/thirdparty/vulkan/registry/generate_headers.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+python loader_genvk.py -registry vk.xml -scripts . vk_layer_dispatch_table.h
+python loader_genvk.py -registry vk.xml -scripts . vk_dispatch_table_helper.h
+python loader_genvk.py -registry vk.xml -scripts . vk_object_types.h
+python loader_genvk.py -registry vk.xml -scripts . vk_loader_extensions.h
+python loader_genvk.py -registry vk.xml -scripts . vk_loader_extensions.c
+mv ./*.c ../loader/
+mv ./*.h ../loader/