diff --git a/.gitmodules b/.gitmodules index 70661af1..0832ec49 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,9 @@ [submodule "3rdparty/VulkanMemoryAllocator"] path = 3rdparty/VulkanMemoryAllocator url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git +[submodule "3rdparty/Vulkan-Utility-Libraries"] + path = 3rdparty/Vulkan-Utility-Libraries + url = https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git +[submodule "3rdparty/Vulkan-Headers"] + path = 3rdparty/Vulkan-Headers + url = https://github.com/KhronosGroup/Vulkan-Headers.git diff --git a/3rdparty/Vulkan-Headers b/3rdparty/Vulkan-Headers new file mode 160000 index 00000000..ad9ce123 --- /dev/null +++ b/3rdparty/Vulkan-Headers @@ -0,0 +1 @@ +Subproject commit ad9ce1235e88dc09287e19171dfac384db8ec32c diff --git a/3rdparty/Vulkan-Utility-Libraries b/3rdparty/Vulkan-Utility-Libraries new file mode 160000 index 00000000..738ec97a --- /dev/null +++ b/3rdparty/Vulkan-Utility-Libraries @@ -0,0 +1 @@ +Subproject commit 738ec97a3f659dd6469bff3c4078ef981b0a343f diff --git a/CMakeLists.txt b/CMakeLists.txt index a331ca1c..2f937b73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,8 @@ set(SPIRV_CROSS_STATIC ON CACHE BOOL "Prefer static libs" FORCE) add_subdirectory(3rdparty/glslang) add_subdirectory(3rdparty/SPIRV-Cross) add_subdirectory(3rdparty/VulkanMemoryAllocator) +add_subdirectory(3rdparty/Vulkan-Headers) +add_subdirectory(3rdparty/Vulkan-Utility-Libraries) set(XXHASH_BUILD_XXHSUM OFF) option(BUILD_SHARED_LIBS OFF) @@ -261,6 +263,7 @@ set(MOBILEGL_LINK_LIBRARIES SPIRV-Tools xxHash::xxhash GPUOpen::VulkanMemoryAllocator + Vulkan::UtilityHeaders ) set(MOBILEGL_COMPILE_DEF