1
0

Accepting request 856053 from X11:Wayland

- Update to release 1.2.162.0 (sdk)

OBS-URL: https://build.opensuse.org/request/show/856053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-validationlayers?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2020-12-23 13:21:34 +00:00 committed by Git OBS Bridge
commit 4bc16db7ee
5 changed files with 33 additions and 13 deletions

3
sdk-1.2.162.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80aa9e180b3900598121d7a3ea613665b99aae21bb40268ecafd82df8016c6f5
size 2427779

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ebad2409123f3ad476daab7e064bd8e9049bfa977382acdd1b9f20df8e6c965e
size 2312569

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Dec 15 16:27:19 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.162.0 (sdk)
* gpu: Add buffer out of bounds access validation
* gpu: Add buffer OOB validation of texel buffers
- Drop prov.diff (merged)
-------------------------------------------------------------------
Wed Nov 25 17:04:17 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.161
* syncval: Add multi subpass dep support
* layers: Allow for sampler with null image view
* layers: Add support for KHR_copy_commands2
* layers: Add missing 1.2 overload functions
* layers: Add VK_EXT_4444_formats support
* layers: Check nullDescriptor when validating vertex attributes
- Add prov.diff
-------------------------------------------------------------------
Mon Sep 28 22:12:38 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,15 +17,15 @@
Name: vulkan-validationlayers
Version: 1.2.154
Version: 1.2.162.0
Release: 0
%define lname libVkLayer_utils-1_2_154
%define lname libVkLayer_utils-1_2_162_0
Summary: Validation layers for Vulkan
License: Apache-2.0
Group: Development/Tools/Other
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v%version.tar.gz
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-%version.tar.gz
Source9: %name-rpmlintrc
Patch1: ver.diff
Patch2: xxhash.diff
@ -69,14 +69,14 @@ Vulkan is a 3D graphics and compute API.
This package contains support files for the VkLayer utility library.
%prep
%autosetup -n Vulkan-ValidationLayers-%version -p1
%autosetup -n Vulkan-ValidationLayers-sdk-%version -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
%build
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
-DBUILD_LAYER_SUPPORT_FILES=ON
make %{?_smp_mflags}
%cmake_build
%install
%cmake_install

View File

@ -10,10 +10,10 @@ xxhash as well, so that the ABI matches.
layers/CMakeLists.txt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Index: Vulkan-ValidationLayers/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-sdk-1.2.162.0/layers/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers/layers/CMakeLists.txt
--- Vulkan-ValidationLayers-sdk-1.2.162.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.2.162.0/layers/CMakeLists.txt
@@ -61,8 +61,6 @@ if(BUILD_LAYER_SUPPORT_FILES)
vk_layer_utils.h
vk_layer_utils.cpp
@ -39,5 +39,5 @@ Index: Vulkan-ValidationLayers/layers/CMakeLists.txt
- target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_LIBRARIES})
+ target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_LIBRARIES} -lxxhash)
# The output file needs Unix "/" separators or Windows "\" separators On top of that, Windows separators actually need to be doubled
# because the json format uses backslash escapes
# Force generation of the PDB file for Release builds.
# Note that CMake reduces optimization levels for RelWithDebInfo builds.