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.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/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..eced4df 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Feb 28 17:03:21 UTC 2021 - Jan Engelhardt + +- 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 + +------------------------------------------------------------------- +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..de0bcc0 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,27 +17,27 @@ Name: vulkan-validationlayers -Version: 1.2.166 +Version: 1.2.170.0 Release: 0 -%define lname libVkLayer_utils-1_2_166 +%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 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-tools-devel >= 2020.2 +BuildRequires: spirv-headers >= 1.5.4.g32 +BuildRequires: spirv-tools-devel >= 2020.7 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 @@ -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 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()