Accepting request 1030976 from X11:Wayland

- Update to release SDK-1.3.231.0

OBS-URL: https://build.opensuse.org/request/show/1030976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-validationlayers?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2022-10-27 11:54:09 +00:00 committed by Git OBS Bridge
commit 433b6176b7
5 changed files with 49 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49c00e0119e3bc11e13c0c740e57c76b582b14f754f3779b85508c4d90d9df85
size 4193944

3
sdk-1.3.231.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce3795d8a6918124f6c5bec9bd6f1e52e8dc8bf6fd9606adb9445b07de28c817
size 4408601

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Oct 24 19:25:31 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de> Fri Aug 26 19:41:43 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,9 +17,9 @@
Name: vulkan-validationlayers Name: vulkan-validationlayers
Version: 1.3.224.1 Version: 1.3.231.0
Release: 0 Release: 0
%define lname libVkLayer_utils-1_3_224_1 %define lname libVkLayer_utils-1_3_231_0
Summary: Validation layers for Vulkan Summary: Validation layers for Vulkan
License: Apache-2.0 License: Apache-2.0
Group: Development/Tools/Other Group: Development/Tools/Other
@ -30,14 +30,15 @@ Patch1: ver.diff
Patch2: xxhash.diff Patch2: xxhash.diff
BuildRequires: cmake >= 3.4 BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8 BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 11.11.0 BuildRequires: glslang-devel >= 11.12
BuildRequires: memory-constraints BuildRequires: memory-constraints
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python3-base BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1+sdk216 BuildRequires: spirv-headers >= 1.6.1+sdk231
BuildRequires: spirv-tools-devel >= 2022.3~sdk224 BuildRequires: spirv-tools-devel >= 2022.4
BuildRequires: vulkan-headers
BuildRequires: xxhash-devel BuildRequires: xxhash-devel
BuildRequires: pkgconfig(vulkan) >= 1.3.216 BuildRequires: pkgconfig(vulkan) >= 1.3.231
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1 Conflicts: vulkan < 1.1
@ -74,10 +75,20 @@ perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
%build %build
%limit_build -m 2000 %limit_build -m 2000
# C++ <thread> needs -lpthread for pthread_create
# (under glibc>=2.34 it's not strictly needed anymore due to symbol move)
cat >gxx <<-EOF
#!/bin/sh
exec g++ "\$@" -lpthread
EOF
chmod a+x gxx
export CXX="$PWD/gxx"
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \ %cmake -DGLSLANG_INSTALL_DIR="%_bindir" \
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \ -DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
-DBUILD_LAYER_SUPPORT_FILES=ON \ -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 %cmake_build
%install %install

View File

@ -7,32 +7,33 @@ bundled one), it makes sense to build ValidationLayers itself with the system
xxhash as well, so that the ABI matches. xxhash as well, so that the ABI matches.
--- ---
layers/CMakeLists.txt | 5 ++--- layers/CMakeLists.txt | 6 ++----
1 file changed, 2 insertions(+), 3 deletions(-) 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.231.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.3.211.0/layers/CMakeLists.txt +++ Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt
@@ -59,8 +59,6 @@ if(BUILD_LAYER_SUPPORT_FILES) @@ -66,8 +66,6 @@ if(BUILD_LAYER_SUPPORT_FILES)
vk_layer_logging.h
vk_layer_utils.h vk_layer_utils.h
vk_layer_utils.cpp vk_layer_utils.cpp
vk_loader_platform.h
- xxhash.h - xxhash.h
- xxhash.c - xxhash.c
generated/vk_format_utils.h generated/vk_format_utils.h
generated/vk_format_utils.cpp generated/vk_format_utils.cpp
generated/vk_validation_error_messages.h 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 generated/synchronization_validation_types.cpp
gpu_validation.cpp gpu_validation.cpp
generated/corechecks_optick_instrumentation.cpp generated/corechecks_optick_instrumentation.cpp
- xxhash.c) - xxhash.c
- xxhash.h)
+) +)
set(OBJECT_LIFETIMES_LIBRARY_FILES set(OBJECT_LIFETIMES_LIBRARY_FILES
generated/object_tracker.cpp generated/object_tracker.cpp
@@ -307,6 +305,7 @@ if(BUILD_LAYERS) @@ -316,6 +313,7 @@ if(BUILD_LAYERS)
endif() endif()
target_include_directories(VkLayer_khronos_validation PRIVATE ${SPIRV_HEADERS_INCLUDE_DIR}) 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 ${SPIRV_TOOLS_TARGET} SPIRV-Tools-opt)