From 1fe993742bcf870976fcdaad8a56ddecd1cb41d19f145d5d2cd5b9440c33ad89 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 10 Feb 2021 14:20:13 +0000 Subject: [PATCH 1/3] - Update to release 1.2.169 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=80 --- v1.2.166.tar.gz | 3 --- v1.2.169.tar.gz | 3 +++ ver.diff | 10 +++++----- vulkan-validationlayers.changes | 8 ++++++++ vulkan-validationlayers.spec | 10 +++++----- xxhash.diff | 12 ++++++------ 6 files changed, 27 insertions(+), 19 deletions(-) delete mode 100644 v1.2.166.tar.gz create mode 100644 v1.2.169.tar.gz diff --git a/v1.2.166.tar.gz b/v1.2.166.tar.gz deleted file mode 100644 index d81020a..0000000 --- a/v1.2.166.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7b4f96b3a9ecb5935aaa774666bcd6a36a2f5335f24b149b308d6202e4d01c6 -size 2523123 diff --git a/v1.2.169.tar.gz b/v1.2.169.tar.gz new file mode 100644 index 0000000..f1ea0e7 --- /dev/null +++ b/v1.2.169.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:680a18ba4391db06372059ed09e4b699db42ea8e0a8aaabbaafcc6647e65664d +size 2539211 diff --git a/ver.diff b/ver.diff index 5f42800..fd3b276 100644 --- a/ver.diff +++ b/ver.diff @@ -7,11 +7,11 @@ As a result, a version needs to be added. CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -Index: Vulkan-ValidationLayers-1.2.148/CMakeLists.txt +Index: Vulkan-ValidationLayers-1.2.169/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-1.2.148.orig/CMakeLists.txt -+++ Vulkan-ValidationLayers-1.2.148/CMakeLists.txt -@@ -320,11 +320,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s +--- Vulkan-ValidationLayers-1.2.169.orig/CMakeLists.txt ++++ Vulkan-ValidationLayers-1.2.169/CMakeLists.txt +@@ -284,11 +284,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s # files directly in layers. add_library(VkLayer_utils @@ -23,5 +23,5 @@ Index: Vulkan-ValidationLayers-1.2.148/CMakeLists.txt layers/vk_format_utils.cpp) +set_target_properties(VkLayer_utils PROPERTIES OUTPUT_NAME "VkLayer_utils-@PACKAGE_VERSION@") target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers) + set_target_properties(VkLayer_utils PROPERTIES CXX_STANDARD ${VVL_CPP_STANDARD}) if(WIN32) - target_compile_definitions(VkLayer_utils PUBLIC _CRT_SECURE_NO_WARNINGS) diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 8b92bf6..e041dc9 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Feb 10 14:05:39 UTC 2021 - Jan Engelhardt + +- Update to release 1.2.169 + * layers: Add VK_EXT_depth_range_unrestricted + * layers: Fix crash with null pWaitDstStageMask + * layers: Fix segfault when querying DRM format modifiers + ------------------------------------------------------------------- Wed Jan 27 21:20:27 UTC 2021 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 60dec40..388247c 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,9 +17,9 @@ Name: vulkan-validationlayers -Version: 1.2.166 +Version: 1.2.169 Release: 0 -%define lname libVkLayer_utils-1_2_166 +%define lname libVkLayer_utils-1_2_169 Summary: Validation layers for Vulkan License: Apache-2.0 Group: Development/Tools/Other @@ -31,13 +31,13 @@ Patch1: ver.diff Patch2: xxhash.diff BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 -BuildRequires: glslang-devel >= 8.13.3727 +BuildRequires: glslang-devel >= 11 BuildRequires: pkg-config BuildRequires: python3-base -BuildRequires: spirv-headers +BuildRequires: spirv-headers >= 1.5.4.g32 BuildRequires: spirv-tools-devel >= 2020.2 BuildRequires: xxhash-devel -BuildRequires: pkgconfig(vulkan) >= 1.2.130 +BuildRequires: pkgconfig(vulkan) >= 1.2.161 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Conflicts: vulkan < 1.1 diff --git a/xxhash.diff b/xxhash.diff index 52fe21f..19e282f 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -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-1.2.165/layers/CMakeLists.txt +Index: Vulkan-ValidationLayers-1.2.169/layers/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-1.2.165.orig/layers/CMakeLists.txt -+++ Vulkan-ValidationLayers-1.2.165/layers/CMakeLists.txt +--- Vulkan-ValidationLayers-1.2.169.orig/layers/CMakeLists.txt ++++ Vulkan-ValidationLayers-1.2.169/layers/CMakeLists.txt @@ -61,8 +61,6 @@ if(BUILD_LAYER_SUPPORT_FILES) vk_layer_utils.h vk_layer_utils.cpp @@ -23,8 +23,8 @@ Index: Vulkan-ValidationLayers-1.2.165/layers/CMakeLists.txt generated/vk_validation_error_messages.h generated/vk_layer_dispatch_table.h generated/vk_dispatch_table_helper.h -@@ -197,7 +195,7 @@ set(CORE_VALIDATION_LIBRARY_FILES - generated/spirv_validation_helper.cpp +@@ -203,7 +201,7 @@ set(CORE_VALIDATION_LIBRARY_FILES + generated/synchronization_validation_types.cpp gpu_validation.cpp generated/corechecks_optick_instrumentation.cpp - xxhash.c) @@ -32,7 +32,7 @@ Index: Vulkan-ValidationLayers-1.2.165/layers/CMakeLists.txt set(OBJECT_LIFETIMES_LIBRARY_FILES generated/object_tracker.cpp -@@ -297,7 +295,7 @@ if(BUILD_LAYERS) +@@ -303,7 +301,7 @@ if(BUILD_LAYERS) if(INSTRUMENT_OPTICK) target_include_directories(VkLayer_khronos_validation PRIVATE ${OPTICK_SOURCE_DIR}) endif() From 2498cf94c0eb26d08d338b4d39c8c5e4d98f6962a017fc31f08a14da66d25a11 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Mar 2021 07:25:56 +0000 Subject: [PATCH 2/3] - Update to release SDK-1.2.170 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=81 --- sdk-1.2.170.0.tar.gz | 3 +++ v1.2.169.tar.gz | 3 --- vulkan-validationlayers.changes | 8 ++++++++ vulkan-validationlayers.spec | 10 +++++----- 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 sdk-1.2.170.0.tar.gz delete mode 100644 v1.2.169.tar.gz diff --git a/sdk-1.2.170.0.tar.gz b/sdk-1.2.170.0.tar.gz new file mode 100644 index 0000000..fca24e3 --- /dev/null +++ b/sdk-1.2.170.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c4f18b9d381505687e61e5cbc86aaeee590c290e60afb5bf451ebcd56e41283 +size 2608380 diff --git a/v1.2.169.tar.gz b/v1.2.169.tar.gz deleted file mode 100644 index f1ea0e7..0000000 --- a/v1.2.169.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:680a18ba4391db06372059ed09e4b699db42ea8e0a8aaabbaafcc6647e65664d -size 2539211 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index e041dc9..d16e9df 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Feb 28 17:03:21 UTC 2021 - Jan Engelhardt + +- Update to release SDK-1.2.170 + * layers: Fix allowed stages for ACCELERATION_STRUCTURE_READ_BIT + * corechecks: Validate memory barriers attached to a subpass dep + * layers: Update ValidationStateTracker for synchronization2 + ------------------------------------------------------------------- Wed Feb 10 14:05:39 UTC 2021 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 388247c..de0bcc0 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,15 +17,15 @@ Name: vulkan-validationlayers -Version: 1.2.169 +Version: 1.2.170.0 Release: 0 -%define lname libVkLayer_utils-1_2_169 +%define lname libVkLayer_utils-1_2_170_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 @@ -35,7 +35,7 @@ BuildRequires: glslang-devel >= 11 BuildRequires: pkg-config BuildRequires: python3-base BuildRequires: spirv-headers >= 1.5.4.g32 -BuildRequires: spirv-tools-devel >= 2020.2 +BuildRequires: spirv-tools-devel >= 2020.7 BuildRequires: xxhash-devel BuildRequires: pkgconfig(vulkan) >= 1.2.161 BuildRequires: pkgconfig(x11) @@ -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-%version -p1 +%autosetup -n Vulkan-ValidationLayers-sdk-%version -p1 perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt %build From e55e5f440b00015d74ffc796b00a599b26af7e106f0fa2e040814356d515e2bf Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Mar 2021 07:26:03 +0000 Subject: [PATCH 3/3] - Update to release SDK-1.2.170.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=82 --- vulkan-validationlayers.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index d16e9df..eced4df 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Sun Feb 28 17:03:21 UTC 2021 - Jan Engelhardt -- Update to release SDK-1.2.170 +- Update to release SDK-1.2.170.0 * layers: Fix allowed stages for ACCELERATION_STRUCTURE_READ_BIT * corechecks: Validate memory barriers attached to a subpass dep * layers: Update ValidationStateTracker for synchronization2