Added SPIRV-Reflect library

This commit is contained in:
2022-02-21 19:35:55 -08:00
parent 400a7e0061
commit e9df34b191
3 changed files with 8 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -19,3 +19,6 @@
[submodule "3rdparty/vma"]
path = 3rdparty/vma
url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
[submodule "spirvreflect"]
path = 3rdparty/spirv-reflect
url = https://github.com/KhronosGroup/SPIRV-Reflect.git

1
3rdparty/spirv-reflect vendored Submodule

Submodule 3rdparty/spirv-reflect added at 1aceb6af56

View File

@@ -161,6 +161,10 @@ list (APPEND EXTRA_LIBS "glslang")
list (APPEND EXTRA_LIBS "SPIRV")
endif()
# ---- SPIRV-Reflect ----
include_directories(3rdparty/spirv-reflect)
add_sources(3rdparty/spirv-reflect/spirv_reflect.c)
# ---- OpenGL ----
if(ANDROID)
list (APPEND EXTRA_LIBS "EGL")