1
0

6 Commits

7 changed files with 70 additions and 36 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1721719192
commit: 55c8abdce1a69089338efb7df0f1636bb6d26582caf264a6fe1f9ed3568174e5
url: https://src.opensuse.org/jengelh/vulkan-validationlayers
revision: master

View File

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

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Thu Mar 13 17:03:56 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to tag SDK-1.4.309.0
* layers: Validate surface counters
* layers: Validate presentModeFifoLatestReady feature is enabled
* layers: Validate missing imageCompressionControl feature
* gpuav: Disable vertex buffer fetching validation
* chassis: Remove tls caching of device/instance state
* layers: Add Extension Checks for Layer Extensions
* layers: Fix crash when sub cb state doesn't have render pass
* layers: Fix crash with invalid device creation
* layers: Validate image copy queue flag support
* layers: Add support for VK_KHR_video_maintenance2
* layers: Validate 2d image blit with invalid z offsets
* layers: Validate invalid ray gen SBT address
* sync: Validate destination acceleration structure build
* sync: Validate acceleration structure vertex/index buffers
-------------------------------------------------------------------
Tue Dec 24 02:31:56 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to tag 1.4.304
* gpuav: Handle VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT
* layers: Add multisampledRenderToSingleSampled check
* layers: Add Shader Debug Info into core validation
* layers: Added present fences to thread safety checks
* layers: Fix present fence not retiring present semaphores
* gpuav: Handle VK_PIPELINE_COMPILE_REQUIRED
* layers: Add Queue Support for Shader Object
* gpu: Add atomics for BDA checks
-------------------------------------------------------------------
Tue Oct 8 18:22:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release SDK-1.3.296
* spirv: Create dedicated InjectConditionalFunctionPass class
* layers: Add VK_EXT_layer_settings param validation
* layers: Add VK_KHR_pipeline_binary validation
* sync: Add support for timeline semaphores
* sync: Add stats for signals and unresolved batches
* layers: Add VK_EXT_depth_clamp_control,
VK_EXT_device_generated_commands,
VK_KHR_compute_shader_derivatives
-------------------------------------------------------------------
Tue Jul 23 07:15:56 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package vulkan-validationlayers
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,12 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: vulkan-validationlayers
Version: 1.3.290
Version: 1.4.309
Release: 0
Summary: Validation layers for Vulkan
License: Apache-2.0
@@ -26,17 +29,14 @@ URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
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
BuildRequires: gcc-c++
%else
BuildRequires: gcc11-c++
%endif
BuildRequires: glslang-devel >= 14.3
BuildRequires: gcc%{?gcc_version} >= 9
BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: glslang-devel >= 15.1
BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1+sdk290
BuildRequires: spirv-tools-devel >= 2024.3
BuildRequires: spirv-headers >= 1.6.4+sdk304
BuildRequires: spirv-tools-devel >= 2025.1~rc1
BuildRequires: vulkan-headers >= %version
BuildRequires: vulkan-utility-libraries-devel >= %version
BuildRequires: xxhash-devel
@@ -61,17 +61,13 @@ perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt
# (under glibc>=2.34 it's not strictly needed anymore due to symbol move)
cat >gxx <<-EOF
#!/bin/sh
exec g++ "\$@" -lpthread
exec "g++%{?gcc_version:-%{gcc_version}}" "\$@" -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" \
-DCMAKE_C_COMPILER="gcc%{?gcc_version:-%{gcc_version}}" \
-DCMAKE_CXX_COMPILER="g++%{?gcc_version:-%{gcc_version}}" \
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
-DBUILD_LAYER_SUPPORT_FILES=ON \
-DUSE_ROBIN_HOOD_HASHING=OFF \

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.290.0/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.296.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
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.296.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.296.0/layers/CMakeLists.txt
@@ -30,7 +30,6 @@ target_sources(VkLayer_utils PRIVATE
error_message/error_strings.h
error_message/record_object.h
error_message/log_message_type.h
- external/xxhash.h
external/inplace_function.h
${API_TYPE}/generated/error_location_helper.cpp
${API_TYPE}/generated/error_location_helper.h
@@ -74,6 +73,7 @@ target_link_libraries(VkLayer_utils PUBL
@@ -75,6 +74,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.290.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.290.0/layers/utils/hash_util.cpp
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.296.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
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.296.0.orig/layers/utils/hash_util.cpp
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.296.0/layers/utils/hash_util.cpp
@@ -23,12 +23,9 @@
#define XXH_IMPLEMENTATION