1
0

Accepting request 864136 from X11:Wayland

- Update to release 1.2.165

OBS-URL: https://build.opensuse.org/request/show/864136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-validationlayers?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2021-01-21 20:54:13 +00:00 committed by Git OBS Bridge
commit 5783c61934
5 changed files with 28 additions and 19 deletions

View File

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

3
v1.2.165.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jan 18 15:42:53 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.165
* layers: Portability validation for CreateImage,
CreateImageView, CreateSampler.
* layers: Support VK_KHR_fragment_shading_rate.
* gpu: Add buffer out of bounds access validation.
-------------------------------------------------------------------
Wed Jan 13 09:08:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,15 +17,15 @@
Name: vulkan-validationlayers
Version: 1.2.162.1
Version: 1.2.165
Release: 0
%define lname libVkLayer_utils-1_2_162_1
%define lname libVkLayer_utils-1_2_165
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/sdk-%version.tar.gz
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v%version.tar.gz
Source9: %name-rpmlintrc
Patch1: ver.diff
Patch2: xxhash.diff
@ -69,7 +69,7 @@ Vulkan is a 3D graphics and compute API.
This package contains support files for the VkLayer utility library.
%prep
%autosetup -n Vulkan-ValidationLayers-sdk-%version -p1
%autosetup -n Vulkan-ValidationLayers-%version -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
%build

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-sdk-1.2.162.0/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-1.2.165/layers/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers-sdk-1.2.162.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.2.162.0/layers/CMakeLists.txt
--- Vulkan-ValidationLayers-1.2.165.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-1.2.165/layers/CMakeLists.txt
@@ -61,8 +61,6 @@ if(BUILD_LAYER_SUPPORT_FILES)
vk_layer_utils.h
vk_layer_utils.cpp
@ -23,21 +23,21 @@ Index: Vulkan-ValidationLayers-sdk-1.2.162.0/layers/CMakeLists.txt
generated/vk_validation_error_messages.h
generated/vk_layer_dispatch_table.h
generated/vk_dispatch_table_helper.h
@@ -195,7 +193,7 @@ set(CORE_VALIDATION_LIBRARY_FILES
shader_validation.cpp
shader_validation.h
@@ -197,7 +195,7 @@ set(CORE_VALIDATION_LIBRARY_FILES
generated/spirv_validation_helper.cpp
gpu_validation.cpp
generated/corechecks_optick_instrumentation.cpp
- xxhash.c)
+)
set(OBJECT_LIFETIMES_LIBRARY_FILES
generated/object_tracker.cpp
@@ -253,7 +251,7 @@ if(BUILD_LAYERS)
target_include_directories(VkLayer_khronos_validation PRIVATE ${GLSLANG_SPIRV_INCLUDE_DIR})
target_include_directories(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_INCLUDE_DIR})
target_include_directories(VkLayer_khronos_validation PRIVATE ${SPIRV_HEADERS_INCLUDE_DIR})
@@ -297,7 +295,7 @@ if(BUILD_LAYERS)
if(INSTRUMENT_OPTICK)
target_include_directories(VkLayer_khronos_validation PRIVATE ${OPTICK_SOURCE_DIR})
endif()
- target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_LIBRARIES})
+ target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_LIBRARIES} -lxxhash)
# Force generation of the PDB file for Release builds.
# Note that CMake reduces optimization levels for RelWithDebInfo builds.
# 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