Accepting request 1089890 from X11:Wayland

- Update to release SDK-1.3.250.0

OBS-URL: https://build.opensuse.org/request/show/1089890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-validationlayers?expand=0&rev=44
This commit is contained in:
Dominique Leuenberger 2023-06-02 22:06:40 +00:00 committed by Git OBS Bridge
commit bde134fe85
5 changed files with 43 additions and 21 deletions

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

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

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 30 21:41:55 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release SDK-1.3.250.0
* Add VK_KHR_maintenance4 AHB check
* Add sparseImageInt64Atomics ImageView
* Add Mesh/Task shader workgroup memory limits
* Add 64-bit vertex validation
* Add support for VK_EXT_shader_tile_image,
VK_EXT_shader_tile_image,
VK_EXT_attachment_feedback_loop_dynamic_state
-------------------------------------------------------------------
Wed Apr 19 21:08:03 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,27 +17,31 @@
Name: vulkan-validationlayers
Version: 1.3.247
Version: 1.3.250.0
Release: 0
%define lname libVkLayer_utils-1_3_247_0
%define lname libVkLayer_utils-1_3_250_0
Summary: Validation layers for Vulkan
License: Apache-2.0
Group: Development/Tools/Other
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/v%version.tar.gz
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/sdk-%version.tar.gz
Patch2: xxhash.diff
Patch3: gcc13.diff
BuildRequires: cmake >= 3.7.12
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 12
%if 0%{?suse_version} >= 1599
BuildRequires: gcc-c++
%else
BuildRequires: gcc11-c++
%endif
BuildRequires: glslang-devel >= 12.2
BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1+sdk239
BuildRequires: spirv-tools-devel >= 2023.1
BuildRequires: spirv-headers >= 1.6.1+sdk250
BuildRequires: spirv-tools-devel >= 2023.3~rc1
BuildRequires: vulkan-headers
BuildRequires: xxhash-devel
BuildRequires: pkgconfig(vulkan) >= 1.3.241
BuildRequires: pkgconfig(vulkan) >= 1.3.250
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1
@ -49,7 +53,7 @@ Vulkan is a 3D graphics and compute API.
This package contains the Khronos official Vulkan validation layers.
%prep
%autosetup -n Vulkan-ValidationLayers-%version -p1
%autosetup -n Vulkan-ValidationLayers-sdk-%version -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt
%build
@ -60,6 +64,12 @@ cat >gxx <<-EOF
#!/bin/sh
exec g++ "\$@" -lpthread
EOF
%if 0%{?suse_version} < 1599
cat >gxx <<-EOF
#!/bin/sh
exec g++-11 "\$@" -lpthread
EOF
%endif
chmod a+x gxx
export CXX="$PWD/gxx"
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \

View File

@ -10,25 +10,25 @@ xxhash as well, so that the ABI matches.
layers/CMakeLists.txt | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: Vulkan-ValidationLayers-1.3.247/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-sdk-1.3.250.0/layers/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers-1.3.247.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-1.3.247/layers/CMakeLists.txt
@@ -19,8 +19,6 @@ target_sources(VkLayer_utils PRIVATE
--- 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
containers/custom_containers.h
error_message/logging.h
error_message/logging.cpp
- external/xxhash.h
- external/xxhash.cpp
generated/vk_format_utils.h
generated/vk_format_utils.cpp
generated/vk_validation_error_messages.h
@@ -51,7 +49,7 @@ target_sources(VkLayer_utils PRIVATE
${API_TYPE}/generated/lvt_function_pointers.cpp
${API_TYPE}/generated/lvt_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)
target_include_directories(VkLayer_utils SYSTEM PRIVATE external)
target_include_directories(VkLayer_utils PUBLIC .)
target_include_directories(VkLayer_utils PUBLIC . ${API_TYPE})