From d5e2cd92763c461a7e35f6cd5621198dee4da4d26d183db850b2955f4e795bad Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 29 Mar 2023 18:55:53 +0000 Subject: [PATCH] - Update to release SDK-1.3.243.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=117 --- sdk-1.3.239.0.tar.gz | 3 --- sdk-1.3.243.0.tar.gz | 3 +++ vulkan-validationlayers.changes | 13 ++++++++++++ vulkan-validationlayers.spec | 12 +++++------ xxhash.diff | 37 +++++++++++++++------------------ 5 files changed, 39 insertions(+), 29 deletions(-) delete mode 100644 sdk-1.3.239.0.tar.gz create mode 100644 sdk-1.3.243.0.tar.gz diff --git a/sdk-1.3.239.0.tar.gz b/sdk-1.3.239.0.tar.gz deleted file mode 100644 index c03a6d9..0000000 --- a/sdk-1.3.239.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7aa7fb46e25e5ef0144d29c92122b631dc7c7c6804a6339f195b368ad53328e4 -size 4549587 diff --git a/sdk-1.3.243.0.tar.gz b/sdk-1.3.243.0.tar.gz new file mode 100644 index 0000000..b768c8e --- /dev/null +++ b/sdk-1.3.243.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd9f6c24027de177b2fb0eb6385542d62f4c21665a8d4cc7e1c118688e0836de +size 4624249 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 0792389..f3f396a 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Mar 29 18:35:13 UTC 2023 - Jan Engelhardt + +- Update to release SDK-1.3.243.0 + * layers: Add texelBufferAlignment support in 1.3 + * bp: Add DescriptorTypeNotInPool support + * gpu: Add state tracking for EXT mesh_shader + * layers: Add dynamic VK_EXT_line_rasterization + * layers: Check correct pNext for VK_EXT_sample_locations + * layers: Add conservativeRasterizationPostDepthCoverage + * layers: Add validation for VkImageViewSlicedCreateInfoEXT + * layers: Add validation for XCB surface creation + ------------------------------------------------------------------- Thu Feb 16 18:27:17 UTC 2023 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 9db57f0..569bc5a 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,9 +17,9 @@ Name: vulkan-validationlayers -Version: 1.3.239.0 +Version: 1.3.243.0 Release: 0 -%define lname libVkLayer_utils-1_3_239_0 +%define lname libVkLayer_utils-1_3_243_0 Summary: Validation layers for Vulkan License: Apache-2.0 Group: Development/Tools/Other @@ -28,15 +28,15 @@ Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/ Patch2: xxhash.diff BuildRequires: cmake >= 3.7.12 BuildRequires: gcc-c++ >= 4.8 -BuildRequires: glslang-devel >= 11.13 +BuildRequires: glslang-devel >= 12 BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base -BuildRequires: spirv-headers >= 1.6.1+sdk236 -BuildRequires: spirv-tools-devel >= 2022.4+sdk236 +BuildRequires: spirv-headers >= 1.6.1+sdk239 +BuildRequires: spirv-tools-devel >= 2023.1 BuildRequires: vulkan-headers BuildRequires: xxhash-devel -BuildRequires: pkgconfig(vulkan) >= 1.3.239 +BuildRequires: pkgconfig(vulkan) >= 1.3.241 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Conflicts: vulkan < 1.1 diff --git a/xxhash.diff b/xxhash.diff index bb6dc08..c3cb5ba 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -7,31 +7,28 @@ bundled one), it makes sense to build ValidationLayers itself with the system xxhash as well, so that the ABI matches. --- - layers/CMakeLists.txt | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) + layers/CMakeLists.txt | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) -Index: Vulkan-ValidationLayers-sdk-1.3.239.0/layers/CMakeLists.txt +Index: Vulkan-ValidationLayers-sdk-1.3.243.0/layers/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-sdk-1.3.239.0.orig/layers/CMakeLists.txt -+++ Vulkan-ValidationLayers-sdk-1.3.239.0/layers/CMakeLists.txt -@@ -50,10 +50,8 @@ target_sources(VkLayer_utils PRIVATE +--- Vulkan-ValidationLayers-sdk-1.3.243.0.orig/layers/CMakeLists.txt ++++ Vulkan-ValidationLayers-sdk-1.3.243.0/layers/CMakeLists.txt +@@ -41,8 +41,6 @@ target_sources(VkLayer_utils PRIVATE vk_layer_logging.cpp vk_layer_utils.h vk_layer_utils.cpp - xxhash.h -- xxhash.c - ) --target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers) -+target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers -lxxhash) - set_target_properties(VkLayer_utils PROPERTIES LINKER_LANGUAGE CXX) - target_include_directories(VkLayer_utils PUBLIC - . -@@ -258,8 +256,6 @@ target_sources(VkLayer_khronos_validatio - video_validation.cpp - vk_layer_settings_ext.h - wsi_validation.cpp -- xxhash.c -- xxhash.h +- xxhash.cpp ) - target_compile_definitions(VkLayer_khronos_validation PUBLIC ${KHRONOS_LAYER_COMPILE_DEFINITIONS}) + # XXH_NO_LONG_LONG: removes compilation of algorithms relying on 64-bit types (XXH3 and XXH64). Only XXH32 will be compiled. +@@ -53,7 +51,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) + target_include_directories(VkLayer_utils PUBLIC + . + generated # Needed otherwise VkLayer_utils won't install properly.