From faaa6ef3ecfe0d0eb81407580a1474a789f0fa3eb5622efd86caf818ae3b64ee Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 24 Oct 2022 22:36:06 +0000 Subject: [PATCH] - Update to release SDK-1.3.231.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=104 --- sdk-1.3.224.1.tar.gz | 3 --- sdk-1.3.231.0.tar.gz | 3 +++ vulkan-validationlayers.changes | 17 +++++++++++++++++ vulkan-validationlayers.spec | 17 ++++++++++------- xxhash.diff | 21 +++++++++++---------- 5 files changed, 41 insertions(+), 20 deletions(-) delete mode 100644 sdk-1.3.224.1.tar.gz create mode 100644 sdk-1.3.231.0.tar.gz diff --git a/sdk-1.3.224.1.tar.gz b/sdk-1.3.224.1.tar.gz deleted file mode 100644 index 62e1110..0000000 --- a/sdk-1.3.224.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49c00e0119e3bc11e13c0c740e57c76b582b14f754f3779b85508c4d90d9df85 -size 4193944 diff --git a/sdk-1.3.231.0.tar.gz b/sdk-1.3.231.0.tar.gz new file mode 100644 index 0000000..8f79ef0 --- /dev/null +++ b/sdk-1.3.231.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce3795d8a6918124f6c5bec9bd6f1e52e8dc8bf6fd9606adb9445b07de28c817 +size 4408601 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 8bd783b..6d77834 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Oct 24 19:25:31 UTC 2022 - Jan Engelhardt + +- Update to release SDK-1.3.231.0 + * Add runtime SPIRV 8/16bit features + * Add queue submit apply barriers support + * Fix hangs in NV best practices + * Add vendor check in ClearDepthStencilImage + * Add compatibility and checks for attachment_feedback_loop_layout + * Add new gpu_shader instructions + * Add QueueSubmit2 support + * Add feature checks for feedback_loop_layout + * Add check to avoid crash in CTS + * Don't auto-validate SPIR-V after optimization + * Use a thread for QUEUE_STATE submission processing + * Fix VVL crash when dynamic line rasterization is used + ------------------------------------------------------------------- Fri Aug 26 19:41:43 UTC 2022 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index d3fbe91..9221cfc 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,9 +17,9 @@ Name: vulkan-validationlayers -Version: 1.3.224.1 +Version: 1.3.231.0 Release: 0 -%define lname libVkLayer_utils-1_3_224_1 +%define lname libVkLayer_utils-1_3_231_0 Summary: Validation layers for Vulkan License: Apache-2.0 Group: Development/Tools/Other @@ -30,14 +30,15 @@ Patch1: ver.diff Patch2: xxhash.diff BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 -BuildRequires: glslang-devel >= 11.11.0 +BuildRequires: glslang-devel >= 11.12 BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base -BuildRequires: spirv-headers >= 1.6.1+sdk216 -BuildRequires: spirv-tools-devel >= 2022.3~sdk224 +BuildRequires: spirv-headers >= 1.6.1+sdk231 +BuildRequires: spirv-tools-devel >= 2022.4 +BuildRequires: vulkan-headers BuildRequires: xxhash-devel -BuildRequires: pkgconfig(vulkan) >= 1.3.216 +BuildRequires: pkgconfig(vulkan) >= 1.3.231 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Conflicts: vulkan < 1.1 @@ -77,7 +78,9 @@ perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt %cmake -DGLSLANG_INSTALL_DIR="%_bindir" \ -DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \ -DBUILD_LAYER_SUPPORT_FILES=ON \ - -DUSE_ROBIN_HOOD_HASHING=OFF + -DUSE_ROBIN_HOOD_HASHING=OFF \ + -DVulkanRegistry_DIR="%_datadir/vulkan/registry" \ + -DSPIRV_HEADERS_INSTALL_DIR="%_prefix" %cmake_build %install diff --git a/xxhash.diff b/xxhash.diff index 4855d15..c95e7cb 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -7,32 +7,33 @@ bundled one), it makes sense to build ValidationLayers itself with the system xxhash as well, so that the ABI matches. --- - layers/CMakeLists.txt | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) + layers/CMakeLists.txt | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) -Index: Vulkan-ValidationLayers-sdk-1.3.211.0/layers/CMakeLists.txt +Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-sdk-1.3.211.0.orig/layers/CMakeLists.txt -+++ Vulkan-ValidationLayers-sdk-1.3.211.0/layers/CMakeLists.txt -@@ -59,8 +59,6 @@ if(BUILD_LAYER_SUPPORT_FILES) +--- Vulkan-ValidationLayers-sdk-1.3.231.0.orig/layers/CMakeLists.txt ++++ Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt +@@ -66,8 +66,6 @@ if(BUILD_LAYER_SUPPORT_FILES) + vk_layer_logging.h vk_layer_utils.h vk_layer_utils.cpp - vk_loader_platform.h - xxhash.h - xxhash.c generated/vk_format_utils.h generated/vk_format_utils.cpp generated/vk_validation_error_messages.h -@@ -200,7 +198,7 @@ set(CORE_VALIDATION_LIBRARY_FILES +@@ -210,8 +208,7 @@ set(CORE_VALIDATION_LIBRARY_FILES generated/synchronization_validation_types.cpp gpu_validation.cpp generated/corechecks_optick_instrumentation.cpp -- xxhash.c) +- xxhash.c +- xxhash.h) +) set(OBJECT_LIFETIMES_LIBRARY_FILES generated/object_tracker.cpp -@@ -307,6 +305,7 @@ if(BUILD_LAYERS) +@@ -316,6 +313,7 @@ if(BUILD_LAYERS) endif() target_include_directories(VkLayer_khronos_validation PRIVATE ${SPIRV_HEADERS_INCLUDE_DIR}) target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_TARGET} SPIRV-Tools-opt)