Add thirdparty library volk 1.4.304

This commit is contained in:
Eidolon 2025-03-11 15:43:55 -05:00
parent d6c00f4236
commit 72e8f9e3f4
5 changed files with 5555 additions and 1 deletions

View file

@ -1644,7 +1644,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- Vulkan Headers - Vulkan Headers
Copyright (c) 2015-2023 The Khronos Group Inc. Copyright (c) 2015-2023 The Khronos Group Inc.
https://github.com/KhronosGroup/Vulkan-Headers https://github.com/KhronosGroup/Vulkan-Headers
- volk
Copyright (c) 2018-2025 Arseny Kapoulkine
https://github.com/zeux/volk
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy

View file

@ -17,3 +17,4 @@ add_subdirectory(libwebm)
add_subdirectory(fmt) add_subdirectory(fmt)
add_subdirectory(vulkan-headers) add_subdirectory(vulkan-headers)
add_subdirectory(volk)

10
thirdparty/volk/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,10 @@
# Update from https://github.com/zeux/volk
# volk 1.4.304
# License: MIT
add_library(volk STATIC src/volk.c)
target_link_libraries(volk PUBLIC VulkanHeaders)
target_include_directories(volk PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_compile_features(volk INTERFACE cxx_std_17)
target_compile_features(volk INTERFACE c_std_11)
add_library(volk::volk ALIAS volk)

2176
thirdparty/volk/include/volk.h vendored Normal file

File diff suppressed because it is too large Load diff

3365
thirdparty/volk/src/volk.c vendored Normal file

File diff suppressed because it is too large Load diff