From 58c4df8b160c86ea41d047dfabf3f0893f0b4e0eafdfbe0c6fccd7eb4f7b22d3 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Mon, 30 Oct 2023 21:10:09 +0000 Subject: [PATCH] new_version OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-validationlayers?expand=0&rev=46 --- gcc13.diff | 16 ---------------- sdk-1.3.261.0.tar.gz | 3 --- vulkan-sdk-1.3.268.0.tar.gz | 3 +++ vulkan-validationlayers.changes | 26 ++++++++++++++++++++++++++ vulkan-validationlayers.spec | 17 ++++++++--------- xxhash.diff | 26 +++++++++++++------------- 6 files changed, 50 insertions(+), 41 deletions(-) delete mode 100644 gcc13.diff delete mode 100644 sdk-1.3.261.0.tar.gz create mode 100644 vulkan-sdk-1.3.268.0.tar.gz diff --git a/gcc13.diff b/gcc13.diff deleted file mode 100644 index 1e07cb7..0000000 --- a/gcc13.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- - layers/external/vma/vk_mem_alloc.h | 1 + - 1 file changed, 1 insertion(+) - -Index: Vulkan-ValidationLayers-1.3.247/layers/external/vma/vk_mem_alloc.h -=================================================================== ---- Vulkan-ValidationLayers-1.3.247.orig/layers/external/vma/vk_mem_alloc.h -+++ Vulkan-ValidationLayers-1.3.247/layers/external/vma/vk_mem_alloc.h -@@ -35,6 +35,7 @@ - - #ifndef AMD_VULKAN_MEMORY_ALLOCATOR_H - #define AMD_VULKAN_MEMORY_ALLOCATOR_H -+#include - - /** \mainpage Vulkan Memory Allocator - diff --git a/sdk-1.3.261.0.tar.gz b/sdk-1.3.261.0.tar.gz deleted file mode 100644 index fa28891..0000000 --- a/sdk-1.3.261.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cda2f78c894088787e77c52ea5bc968701e0fa7681e9ad533fc307f69f569ca8 -size 5005066 diff --git a/vulkan-sdk-1.3.268.0.tar.gz b/vulkan-sdk-1.3.268.0.tar.gz new file mode 100644 index 0000000..17b1bc2 --- /dev/null +++ b/vulkan-sdk-1.3.268.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6912ab49c2d379dd9ede59b4257d13dcac218ecd43df395a7d5914c7dfd024 +size 5004147 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index db3565c..7198888 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Fri Oct 27 04:13:02 UTC 2023 - Jan Engelhardt + +- Update to release SDK-1.3.268.0 + * layers: Add support for Image Layout check for CopyImage + * layers: Add support for TransitionImageLayoutEXT record + * layers: Add layout checks to MemoryToImage & ImageToMemory + * layers: Add validation for VK_EXT_shader_object, + VkHostImageLayoutTransitionInfoEXT, VkCopyImageToImageEXT + * layers: Add vkGetImageSubresourceLayout2KHR, + ValidateHostCopyImageCreateInfos + * layers: Support per-present-mode surface capabilities + * layers: Introduce barrier structures + * layers: Add thread safety checks for vkQueuePresentKHR + * gpu: Remove SPIR-V disassembly from generated headers + * layers: Add VK_EXT_calibrated_timestamps + * More validations passes: invalid compute pipeline flags, linked + tessellation shaders, mesh work groups, MRTSS rasterization + samples, geometry shader input topology, pipeline formats in + secondary cmd buffers, mesh shader queries, pipeline library + flags, texel block extent in image copy, color attachments with + advanced blend. + * gpu: Add ability to select which shaders get instrumented + * gpu: Use vku utilities for GPU-AV settings +- Delete gcc13.diff, seems obsolete + ------------------------------------------------------------------- Wed Aug 23 19:30:07 UTC 2023 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 5f9d9bf..67b38c7 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,31 +17,30 @@ Name: vulkan-validationlayers -Version: 1.3.261.0 +Version: 1.3.268.0 Release: 0 -%define lname libVkLayer_utils-1_3_261_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/refs/tags/sdk-%version.tar.gz +Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/vulkan-sdk-%version.tar.gz Patch2: xxhash.diff -Patch3: gcc13.diff BuildRequires: cmake >= 3.7.12 %if 0%{?suse_version} >= 1599 BuildRequires: gcc-c++ %else BuildRequires: gcc11-c++ %endif -BuildRequires: glslang-devel >= 12.3.1+sdk261 +BuildRequires: glslang-devel >= 13.1.0 BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base -BuildRequires: spirv-headers >= 1.6.1+sdk250 -BuildRequires: spirv-tools-devel >= 2023.4~rc2 +BuildRequires: spirv-headers >= 1.6.1+sdk268 +BuildRequires: spirv-tools-devel >= 2023.5~rc1 BuildRequires: vulkan-headers +BuildRequires: vulkan-utility-libraries-devel >= 1.3.268 BuildRequires: xxhash-devel -BuildRequires: pkgconfig(vulkan) >= 1.3.261 +BuildRequires: pkgconfig(vulkan) >= 1.3.268 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Conflicts: vulkan < 1.1 @@ -53,7 +52,7 @@ Vulkan is a 3D graphics and compute API. This package contains the Khronos official Vulkan validation layers. %prep -%autosetup -n Vulkan-ValidationLayers-sdk-%version -p1 +%autosetup -n Vulkan-ValidationLayers-vulkan-sdk-%version -p1 perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt %build diff --git a/xxhash.diff b/xxhash.diff index 3906034..c705087 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -10,22 +10,22 @@ xxhash as well, so that the ABI matches. layers/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -Index: Vulkan-ValidationLayers-sdk-1.3.261.0/layers/CMakeLists.txt +Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-sdk-1.3.261.0.orig/layers/CMakeLists.txt -+++ Vulkan-ValidationLayers-sdk-1.3.261.0/layers/CMakeLists.txt -@@ -25,8 +25,6 @@ target_sources(VkLayer_utils PRIVATE - containers/custom_containers.h - error_message/logging.h - error_message/logging.cpp +--- Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0.orig/layers/CMakeLists.txt ++++ Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/CMakeLists.txt +@@ -28,8 +28,6 @@ target_sources(VkLayer_utils PRIVATE + error_message/error_location.cpp + error_message/error_location.h + error_message/record_object.h - external/xxhash.h - external/xxhash.cpp - ${API_TYPE}/generated/vk_function_pointers.cpp - ${API_TYPE}/generated/vk_function_pointers.h - ${API_TYPE}/generated/vk_format_utils.h -@@ -70,6 +68,7 @@ target_compile_definitions(VkLayer_utils - target_link_libraries(VkLayer_utils PUBLIC - Vulkan::Headers + ${API_TYPE}/generated/error_location_helper.cpp + ${API_TYPE}/generated/error_location_helper.h + ${API_TYPE}/generated/pnext_chain_extraction.cpp +@@ -76,6 +74,7 @@ target_link_libraries(VkLayer_utils PUBL + Vulkan::LayerSettings + Vulkan::UtilityHeaders ${CMAKE_DL_LIBS} + -lxxhash )