1
0

vulkan-validationlayers SDK-1.4.309.0

This commit is contained in:
2025-03-13 18:11:52 +01:00
parent 293ad8d1bb
commit 7ee50b73f7
4 changed files with 36 additions and 21 deletions

BIN
v1.4.304.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,22 @@
-------------------------------------------------------------------
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>

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,28 +15,28 @@
# 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.4.304
Version: 1.4.309
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/v%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} && 0%{?suse_version} < 1600
BuildRequires: gcc12-c++
%else
BuildRequires: c++_compiler
%endif
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.4+sdk303
BuildRequires: spirv-tools-devel >= 2024.4~rc2
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
@@ -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-%version -p1
%autosetup -n Vulkan-ValidationLayers-vulkan-sdk-%version.0 -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt
%build
@@ -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} && 0%{?suse_version} < 1600
cat >gxx <<-EOF
#!/bin/sh
exec g++-12 "\$@" -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 \