[info=a897b6356918837a0c0e6b71dde042a90aa83245d00e013122325a98c94d1a65]

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=143
This commit is contained in:
OBS User unknown 2024-07-23 05:53:29 +00:00 committed by Git OBS Bridge
parent 36b12b6363
commit 7c01bb7b9f
6 changed files with 23 additions and 23 deletions

View File

@ -1,4 +1,4 @@
mtime: 1715969093
commit: db7c457dc44f0b512a689a0854e1a39505ee38d253175ab6b27f3b6954c1cd7b
mtime: 1721714208
commit: a897b6356918837a0c0e6b71dde042a90aa83245d00e013122325a98c94d1a65
url: https://src.opensuse.org/jengelh/vulkan-validationlayers
revision: master

View File

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

View File

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

BIN
vulkan-sdk-1.3.290.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -17,13 +17,13 @@
Name: vulkan-validationlayers
Version: 1.3.283.0
Version: 1.3.290
Release: 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/vulkan-sdk-%version.tar.gz
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/vulkan-sdk-%version.0.tar.gz
Patch2: xxhash.diff
BuildRequires: cmake >= 3.7.12
%if 0%{?suse_version} >= 1599
@ -31,16 +31,16 @@ BuildRequires: gcc-c++
%else
BuildRequires: gcc11-c++
%endif
BuildRequires: glslang-devel >= 14.2
BuildRequires: glslang-devel >= 14.3
BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1+sdk283
BuildRequires: spirv-tools-devel >= 2024.1
BuildRequires: vulkan-headers
BuildRequires: vulkan-utility-libraries-devel >= 1.3.283
BuildRequires: spirv-headers >= 1.6.1+sdk290
BuildRequires: spirv-tools-devel >= 2024.3
BuildRequires: vulkan-headers >= %version
BuildRequires: vulkan-utility-libraries-devel >= %version
BuildRequires: xxhash-devel
BuildRequires: pkgconfig(vulkan) >= 1.3.283
BuildRequires: pkgconfig(vulkan) >= %version
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1
@ -52,7 +52,7 @@ Vulkan is a 3D graphics and compute API.
This package contains the Khronos official Vulkan validation layers.
%prep
%autosetup -n Vulkan-ValidationLayers-vulkan-sdk-%version -p1
%autosetup -n Vulkan-ValidationLayers-vulkan-sdk-%version.0 -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt
%build

View File

@ -11,19 +11,19 @@ xxhash as well, so that the ABI matches.
layers/utils/hash_util.cpp | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.290.0/layers/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0/layers/CMakeLists.txt
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.290.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.290.0/layers/CMakeLists.txt
@@ -29,7 +29,6 @@ target_sources(VkLayer_utils PRIVATE
error_message/error_location.h
error_message/error_strings.h
error_message/record_object.h
- external/xxhash.h
external/inplace_function.h
${API_TYPE}/generated/error_location_helper.cpp
${API_TYPE}/generated/error_location_helper.h
${API_TYPE}/generated/feature_requirements_helper.cpp
@@ -71,6 +70,7 @@ target_link_libraries(VkLayer_utils PUBL
@@ -74,6 +73,7 @@ target_link_libraries(VkLayer_utils PUBL
Vulkan::SafeStruct
Vulkan::UtilityHeaders
${CMAKE_DL_LIBS}
@ -31,10 +31,10 @@ Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0/layers/CMakeLists.txt
)
target_include_directories(VkLayer_utils SYSTEM PRIVATE external)
target_include_directories(VkLayer_utils PUBLIC . ${API_TYPE})
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0/layers/utils/hash_util.cpp
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.290.0/layers/utils/hash_util.cpp
===================================================================
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0.orig/layers/utils/hash_util.cpp
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.283.0/layers/utils/hash_util.cpp
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.290.0.orig/layers/utils/hash_util.cpp
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.290.0/layers/utils/hash_util.cpp
@@ -23,12 +23,9 @@
#define XXH_IMPLEMENTATION