Update to latest 1.3.216.0

Resolves: rhbz#2070292
This commit is contained in:
Dave Airlie 2022-06-22 12:38:45 +10:00
parent 1c21319026
commit b915aeada2
5 changed files with 7 additions and 28 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@
/Vulkan-ValidationLayers-sdk-1.2.162.0.tar.gz
/Vulkan-ValidationLayers-sdk-1.2.182.0.tar.gz
/Vulkan-ValidationLayers-sdk-1.3.204.0.tar.gz
/Vulkan-ValidationLayers-sdk-1.3.216.0.tar.gz

View File

@ -1,12 +0,0 @@
diff -up Vulkan-ValidationLayers-sdk-1.3.204.0/layers/CMakeLists.txt.dma Vulkan-ValidationLayers-sdk-1.3.204.0/layers/CMakeLists.txt
--- Vulkan-ValidationLayers-sdk-1.3.204.0/layers/CMakeLists.txt.dma 2022-02-16 12:57:50.396556235 +1000
+++ Vulkan-ValidationLayers-sdk-1.3.204.0/layers/CMakeLists.txt 2022-02-16 12:57:54.312630300 +1000
@@ -315,7 +315,7 @@ if(BUILD_LAYERS)
target_include_directories(VkLayer_khronos_validation PRIVATE ${SPIRV_HEADERS_INCLUDE_DIR})
endif()
- target_link_libraries(VkLayer_khronos_validation PRIVATE SPIRV-Tools-static SPIRV-Tools-opt)
+ target_link_libraries(VkLayer_khronos_validation PRIVATE SPIRV-Tools SPIRV-Tools-opt)
# The output file needs Unix "/" separators or Windows "\" separators On top of that, Windows separators actually need to be doubled

View File

@ -1 +1 @@
SHA512 (Vulkan-ValidationLayers-sdk-1.3.204.0.tar.gz) = 9f0649d2e3eccd52a093b4d9c3446d7f05ad4938a6950042fc2c3cf05f6ca2f513706385fc39cf4559344a4770fcc4375306904a233d0edd48b6eff5f17f1b0f
SHA512 (Vulkan-ValidationLayers-sdk-1.3.216.0.tar.gz) = c3e3f44ddec4a440c759a5773cf8cabdb79e35152fd912b75ba7ef80126184fab7d0cd93e55e6f0a1b3fa5379295bf60dd21cbba97b3c24e753cd7b6ccb78f72

View File

@ -1,11 +0,0 @@
diff -up Vulkan-ValidationLayers-sdk-1.3.204.0/CMakeLists.txt.dma Vulkan-ValidationLayers-sdk-1.3.204.0/CMakeLists.txt
--- Vulkan-ValidationLayers-sdk-1.3.204.0/CMakeLists.txt.dma 2022-02-16 12:29:43.131617038 +1000
+++ Vulkan-ValidationLayers-sdk-1.3.204.0/CMakeLists.txt 2022-02-16 12:29:48.095711141 +1000
@@ -256,7 +256,6 @@ if (USE_ROBIN_HOOD_HASHING)
endif()
endif()
-set(SPIRV_HEADERS_INCLUDE_DIR "" CACHE STRING "")
if(BUILD_LAYERS OR BUILD_TESTS)
if (SPIRV_HEADERS_INCLUDE_DIR STREQUAL "")
find_package(SPIRV-Headers REQUIRED CONFIG)

View File

@ -1,5 +1,5 @@
Name: vulkan-validation-layers
Version: 1.3.204.0
Version: 1.3.216.0
Release: 1%{?dist}
Summary: Vulkan validation layers
@ -8,8 +8,6 @@ URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
Patch0: fix_shared.patch
Patch1: add-missing-export.patch
Patch2: try-fix-headers.patch
Patch3: fix-spirv-tools-shared.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@ -53,7 +51,7 @@ developing applications that use %{name}.
-DGLSLANG_INSTALL_DIR=%{_prefix} \
-DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \
-DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \
-DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \
-DSPIRV_HEADERS_INCLUDE_DIR=%{_includedir} \
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/
%cmake_build
@ -75,6 +73,9 @@ developing applications that use %{name}.
%{_includedir}/vulkan/
%changelog
* Wed Jun 22 2022 Dave Airlie <airlied@redhat.com> - 1.3.216.0-1
- Update to latest 1.3.216.0
* Fri Feb 25 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-1
- Update to latest 1.3.204.0