From b7b9397e931b7a1faa655c67b4e50e196942c8eb3f1bf79276ac7ad681ebf7cb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 18 Jan 2021 15:43:15 +0000 Subject: [PATCH] - Update to release 1.2.165 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=76 --- sdk-1.2.162.1.tar.gz | 3 --- v1.2.165.tar.gz | 3 +++ vulkan-validationlayers.changes | 9 +++++++++ vulkan-validationlayers.spec | 8 ++++---- xxhash.diff | 24 ++++++++++++------------ 5 files changed, 28 insertions(+), 19 deletions(-) delete mode 100644 sdk-1.2.162.1.tar.gz create mode 100644 v1.2.165.tar.gz diff --git a/sdk-1.2.162.1.tar.gz b/sdk-1.2.162.1.tar.gz deleted file mode 100644 index a96b2c0..0000000 --- a/sdk-1.2.162.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ccafea8668e0eae5736a2029917e30d36e7fbf9f42ab44a33a1760492fd3017f -size 2442995 diff --git a/v1.2.165.tar.gz b/v1.2.165.tar.gz new file mode 100644 index 0000000..cf33f2b --- /dev/null +++ b/v1.2.165.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e9d16a6917027db8e16c9361e2bdd3526e9071d17eadb6f4601e2362714505d +size 2518057 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 391d244..799a3c7 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jan 18 15:42:53 UTC 2021 - Jan Engelhardt + +- 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 diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 16bab1e..df351c2 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -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 diff --git a/xxhash.diff b/xxhash.diff index e068754..52fe21f 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-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