From 759bdad2a01ee4a1ab6a5c7dc048a458017e25b7234045670811e94fa2d87fd1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 23 Aug 2023 19:46:53 +0000 Subject: [PATCH] - Update to release SDK-1.3.261.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=125 --- sdk-1.3.250.0.tar.gz | 3 --- sdk-1.3.261.0.tar.gz | 3 +++ vulkan-validationlayers.changes | 23 +++++++++++++++++++++++ vulkan-validationlayers.spec | 10 +++++----- xxhash.diff | 29 ++++++++++++++--------------- 5 files changed, 45 insertions(+), 23 deletions(-) delete mode 100644 sdk-1.3.250.0.tar.gz create mode 100644 sdk-1.3.261.0.tar.gz diff --git a/sdk-1.3.250.0.tar.gz b/sdk-1.3.250.0.tar.gz deleted file mode 100644 index e591f88..0000000 --- a/sdk-1.3.250.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc7989c019c8b7a18b8c3baabb30c1eba7921b2c63c54b46366f9ade4a9a7d1f -size 4829919 diff --git a/sdk-1.3.261.0.tar.gz b/sdk-1.3.261.0.tar.gz new file mode 100644 index 0000000..fa28891 --- /dev/null +++ b/sdk-1.3.261.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cda2f78c894088787e77c52ea5bc968701e0fa7681e9ad533fc307f69f569ca8 +size 5005066 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 56938a6..db3565c 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Aug 23 19:30:07 UTC 2023 - Jan Engelhardt + +- Update to release SDK-1.3.261.0 + * Fix crash with push constants using spec const + * VVL for VK_EXT_dynamic_rendering_unused_attachments + * Fix vkGetSemaphoreCounterValue timeout with GPU-AV + * Add state tracking for CmdSetDepthBias2EXT + * Enable CooperativeMatrixKHR generation + * Add support for concurrent blocking operations + * Add basic shader object validation + * Prevent crash for physicalStorageBuffer interface + * Add Zero RenderArea checks + * Add active query type check for vkCmdExecuteCommands + * Add VkBufferUsageFlags2CreateInfoKHR support + * Fix multiview check with dynamic rendering + * Add validation for CopyMemoryToImage, CopyImageToMemory, + VkCopyImageToImageEXT, VkHostImageLayoutTransitionInfoEXT, + VK_EXT_shader_object + * Add support for Image Layout check for CopyImage + * Add support for TransitionImageLayoutEXT record + * Add layout checks to MemoryToImage & ImageToMemory + ------------------------------------------------------------------- Tue May 30 21:41:55 UTC 2023 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 44be83c..5f9d9bf 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,9 +17,9 @@ Name: vulkan-validationlayers -Version: 1.3.250.0 +Version: 1.3.261.0 Release: 0 -%define lname libVkLayer_utils-1_3_250_0 +%define lname libVkLayer_utils-1_3_261_0 Summary: Validation layers for Vulkan License: Apache-2.0 Group: Development/Tools/Other @@ -33,15 +33,15 @@ BuildRequires: gcc-c++ %else BuildRequires: gcc11-c++ %endif -BuildRequires: glslang-devel >= 12.2 +BuildRequires: glslang-devel >= 12.3.1+sdk261 BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base BuildRequires: spirv-headers >= 1.6.1+sdk250 -BuildRequires: spirv-tools-devel >= 2023.3~rc1 +BuildRequires: spirv-tools-devel >= 2023.4~rc2 BuildRequires: vulkan-headers BuildRequires: xxhash-devel -BuildRequires: pkgconfig(vulkan) >= 1.3.250 +BuildRequires: pkgconfig(vulkan) >= 1.3.261 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Conflicts: vulkan < 1.1 diff --git a/xxhash.diff b/xxhash.diff index 4c1d8ca..3906034 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -7,28 +7,27 @@ bundled one), it makes sense to build ValidationLayers itself with the system xxhash as well, so that the ABI matches. --- - layers/CMakeLists.txt | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) + layers/CMakeLists.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) -Index: Vulkan-ValidationLayers-sdk-1.3.250.0/layers/CMakeLists.txt +Index: Vulkan-ValidationLayers-sdk-1.3.261.0/layers/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-sdk-1.3.250.0.orig/layers/CMakeLists.txt -+++ Vulkan-ValidationLayers-sdk-1.3.250.0/layers/CMakeLists.txt -@@ -26,8 +26,6 @@ target_sources(VkLayer_utils PRIVATE +--- 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 - external/xxhash.h - external/xxhash.cpp - ${API_TYPE}/generated/lvt_function_pointers.cpp - ${API_TYPE}/generated/lvt_function_pointers.h + ${API_TYPE}/generated/vk_function_pointers.cpp + ${API_TYPE}/generated/vk_function_pointers.h ${API_TYPE}/generated/vk_format_utils.h -@@ -66,7 +64,7 @@ target_sources(VkLayer_utils PRIVATE - # https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/4640 - target_compile_definitions(VkLayer_utils PUBLIC XXH_NO_LONG_LONG) - --target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers) -+target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers -lxxhash) +@@ -70,6 +68,7 @@ target_compile_definitions(VkLayer_utils + target_link_libraries(VkLayer_utils PUBLIC + Vulkan::Headers + ${CMAKE_DL_LIBS} ++ -lxxhash + ) target_include_directories(VkLayer_utils SYSTEM PRIVATE external) target_include_directories(VkLayer_utils PUBLIC . ${API_TYPE}) -