meson: Remove generation of unneeded includes

vk_dispatch_table_helper.h and vk_layer_dispatch_table.h headers
are not used anymore by mesa layer, remove their generation.

Remove git modules required only for the generation of above headers.
This commit is contained in:
Danilo Spinella 2020-02-13 19:02:24 +01:00 committed by jackun
parent 5c4816efa5
commit 2c6f9d0d44
4 changed files with 1 additions and 18 deletions

6
.gitmodules vendored
View File

@ -1,9 +1,3 @@
[submodule "modules/Vulkan-Docs"]
path = modules/Vulkan-Docs
url = https://github.com/KhronosGroup/Vulkan-Docs.git
[submodule "modules/Vulkan-Loader"]
path = modules/Vulkan-Loader
url = https://github.com/KhronosGroup/Vulkan-Loader.git
[submodule "modules/ImGui/src"]
path = modules/ImGui/src
url = https://github.com/flightlessmango/ImGui.git

View File

@ -184,17 +184,8 @@ endif
dep_pthread = cc.find_library('pthread')
vk_api_xml = files('modules/Vulkan-Docs/xml/vk.xml')
vk_api_xml = files('modules/Vulkan-Headers/registry/vk.xml')
vk_layer_table_helpers = []
loader_genvk_py = files('modules/Vulkan-Loader/scripts/loader_genvk.py')
foreach s : ['vk_dispatch_table_helper.h', 'vk_layer_dispatch_table.h']#, 'vk_loader_extensions.h', 'vk_loader_extensions.c']
vk_layer_table_helpers += custom_target(
s, output : s,
command : [prog_python, loader_genvk_py,
'-scripts', '../../Vulkan-Docs/scripts', # relative to loader_genvk.py
'-registry', vk_api_xml,
'-o','@OUTDIR@', s])
endforeach
vk_enum_to_str = custom_target(
'vk_enum_to_str',

@ -1 +0,0 @@
Subproject commit fbe9fa0b6754ea98fc10df6a372cb5fcb8e565f4

@ -1 +0,0 @@
Subproject commit 44ac9b2f406f863c69a297a77bd23c28fa29e78d