Compare commits

...

3 Commits

5 changed files with 66 additions and 27 deletions

BIN
v1.4.304.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
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>
- Update to release SDK-1.3.290
* corechecks: Avoid crashing in ValidateBufferUpdate
* layers: Add VK_EXT_legacy_vertex_attributes,
VK_MESA_image_alignment_control, VK_KHR_maintenance7,
VK_EXT_nested_command_buffer
* layers: Add checks for InputAttachmentIndex (SPIR-V),
MaxFragmentCombinedOutputResources, vkGetDeviceFaultInfoEXT
* gpu: Add Shader Conditional Functions
* gpu: Add setting to limit shader instrumentation
-------------------------------------------------------------------
Thu May 16 12:22:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,30 +17,30 @@
Name: vulkan-validationlayers
Version: 1.3.283.0
Version: 1.4.304
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/v%version.tar.gz
Patch2: xxhash.diff
BuildRequires: cmake >= 3.7.12
%if 0%{?suse_version} >= 1599
BuildRequires: gcc-c++
%if 0%{?suse_version} && 0%{?suse_version} < 1600
BuildRequires: gcc12-c++
%else
BuildRequires: gcc11-c++
BuildRequires: c++_compiler
%endif
BuildRequires: glslang-devel >= 14.2
BuildRequires: glslang-devel >= 15.1
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.4+sdk303
BuildRequires: spirv-tools-devel >= 2024.4~rc2
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-%version -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt
%build
@ -63,10 +63,10 @@ cat >gxx <<-EOF
#!/bin/sh
exec g++ "\$@" -lpthread
EOF
%if 0%{?suse_version} < 1599
%if 0%{?suse_version} && 0%{?suse_version} < 1600
cat >gxx <<-EOF
#!/bin/sh
exec g++-11 "\$@" -lpthread
exec g++-12 "\$@" -lpthread
EOF
%endif
chmod a+x gxx

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.296.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
@@ -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
${API_TYPE}/generated/feature_requirements_helper.cpp
@@ -71,6 +70,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.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.296.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.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