From ea15dd6db6388ceb8dad6a70ac6f419358991d7244cf3013aa458147a9ba07d7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Dec 2022 09:25:04 +0000 Subject: [PATCH] - Update to release SDK-1.3.236.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=107 --- sdk-1.3.231.0.tar.gz | 3 --- sdk-1.3.236.0.tar.gz | 3 +++ ver.diff | 15 +++++++-------- vulkan-validationlayers.changes | 13 +++++++++++++ vulkan-validationlayers.spec | 12 ++++++------ xxhash.diff | 24 ++++++++++++------------ 6 files changed, 41 insertions(+), 29 deletions(-) delete mode 100644 sdk-1.3.231.0.tar.gz create mode 100644 sdk-1.3.236.0.tar.gz diff --git a/sdk-1.3.231.0.tar.gz b/sdk-1.3.231.0.tar.gz deleted file mode 100644 index 8f79ef0..0000000 --- a/sdk-1.3.231.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce3795d8a6918124f6c5bec9bd6f1e52e8dc8bf6fd9606adb9445b07de28c817 -size 4408601 diff --git a/sdk-1.3.236.0.tar.gz b/sdk-1.3.236.0.tar.gz new file mode 100644 index 0000000..a3b7f73 --- /dev/null +++ b/sdk-1.3.236.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68f2cf70b1960f85e931ef56935e6ceda1beeb214f8fa319e6b95128b02b485a +size 4519779 diff --git a/ver.diff b/ver.diff index 46e8e2a..a03f94e 100644 --- a/ver.diff +++ b/ver.diff @@ -4,15 +4,14 @@ Date: 2020-08-19 13:21:33.156157310 +0200 We do not want static archives in openSUSE, so need to turn on SHARED mode. As a result, a version needs to be added. --- - CMakeLists.txt | 3 ++- - layers/vk_layer_config.h | 2 +- - 2 files changed, 3 insertions(+), 2 deletions(-) + CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) -Index: Vulkan-ValidationLayers-1.3.224/CMakeLists.txt +Index: Vulkan-ValidationLayers-sdk-1.3.236.0/CMakeLists.txt =================================================================== ---- Vulkan-ValidationLayers-1.3.224.orig/CMakeLists.txt -+++ Vulkan-ValidationLayers-1.3.224/CMakeLists.txt -@@ -338,11 +338,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s +--- Vulkan-ValidationLayers-sdk-1.3.236.0.orig/CMakeLists.txt ++++ Vulkan-ValidationLayers-sdk-1.3.236.0/CMakeLists.txt +@@ -255,11 +255,12 @@ endif() # files directly in layers. add_library(VkLayer_utils @@ -24,5 +23,5 @@ Index: Vulkan-ValidationLayers-1.3.224/CMakeLists.txt layers/generated/vk_format_utils.cpp) +set_target_properties(VkLayer_utils PROPERTIES OUTPUT_NAME "VkLayer_utils-@PACKAGE_VERSION@") target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers) - set_target_properties(VkLayer_utils PROPERTIES CXX_STANDARD ${VVL_CPP_STANDARD}) if (VVL_ENABLE_ASAN) + target_compile_options(VkLayer_utils PRIVATE -fsanitize=address) diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 6d77834..85b0936 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Dec 23 08:14:13 UTC 2022 - Jan Engelhardt + +- Update to release SDK-1.3.236.0 + * Validate acquire and release full screen exclusive + * Validate image barrier access layout combinations + * Validate creating image view with video image usage + * Validate viewportCount with extended dynamic state + * Validate EndRenderPass with transform feedback + * Validate copy image usage + * Add validation for mesh shader extension, VK_EXT_mesh_shader + and VK_EXT_descriptor_buffer + ------------------------------------------------------------------- Mon Oct 24 19:25:31 UTC 2022 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 70afca7..f4d7f2d 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,9 +17,9 @@ Name: vulkan-validationlayers -Version: 1.3.231.0 +Version: 1.3.236.0 Release: 0 -%define lname libVkLayer_utils-1_3_231_0 +%define lname libVkLayer_utils-1_3_236_0 Summary: Validation layers for Vulkan License: Apache-2.0 Group: Development/Tools/Other @@ -30,15 +30,15 @@ Patch1: ver.diff Patch2: xxhash.diff BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 -BuildRequires: glslang-devel >= 11.12 +BuildRequires: glslang-devel >= 11.13 BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base -BuildRequires: spirv-headers >= 1.6.1+sdk231 -BuildRequires: spirv-tools-devel >= 2022.4 +BuildRequires: spirv-headers >= 1.6.1+sdk1.3.236.0 +BuildRequires: spirv-tools-devel >= 2022.4+sdk1.3.236.0 BuildRequires: vulkan-headers BuildRequires: xxhash-devel -BuildRequires: pkgconfig(vulkan) >= 1.3.231 +BuildRequires: pkgconfig(vulkan) >= 1.3.236 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Conflicts: vulkan < 1.1 diff --git a/xxhash.diff b/xxhash.diff index c95e7cb..6fbd304 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -10,11 +10,11 @@ xxhash as well, so that the ABI matches. layers/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt +Index: Vulkan-ValidationLayers-sdk-1.3.236.0/layers/CMakeLists.txt =================================================================== ---- 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) +--- Vulkan-ValidationLayers-sdk-1.3.236.0.orig/layers/CMakeLists.txt ++++ Vulkan-ValidationLayers-sdk-1.3.236.0/layers/CMakeLists.txt +@@ -45,8 +45,6 @@ if(BUILD_LAYER_SUPPORT_FILES) vk_layer_logging.h vk_layer_utils.h vk_layer_utils.cpp @@ -23,7 +23,7 @@ Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt generated/vk_format_utils.h generated/vk_format_utils.cpp generated/vk_validation_error_messages.h -@@ -210,8 +208,7 @@ set(CORE_VALIDATION_LIBRARY_FILES +@@ -149,8 +147,7 @@ set(CORE_VALIDATION_LIBRARY_FILES generated/synchronization_validation_types.cpp gpu_validation.cpp generated/corechecks_optick_instrumentation.cpp @@ -33,11 +33,11 @@ Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt set(OBJECT_LIFETIMES_LIBRARY_FILES generated/object_tracker.cpp -@@ -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) -+ target_link_libraries(VkLayer_khronos_validation PRIVATE -lxxhash) +@@ -279,6 +276,7 @@ endif() + target_link_libraries(VkLayer_khronos_validation PRIVATE + ${SPIRV_TOOLS_TARGET} + SPIRV-Tools-opt ++ -lxxhash + SPIRV-Headers::SPIRV-Headers + ) - - # The output file needs Unix "/" separators or Windows "\" separators On top of that, Windows separators actually need to be doubled