forked from pool/vulkan-validationlayers
new_version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-validationlayers?expand=0&rev=46
This commit is contained in:
parent
fa654c462e
commit
58c4df8b16
16
gcc13.diff
16
gcc13.diff
@ -1,16 +0,0 @@
|
||||
---
|
||||
layers/external/vma/vk_mem_alloc.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: Vulkan-ValidationLayers-1.3.247/layers/external/vma/vk_mem_alloc.h
|
||||
===================================================================
|
||||
--- Vulkan-ValidationLayers-1.3.247.orig/layers/external/vma/vk_mem_alloc.h
|
||||
+++ Vulkan-ValidationLayers-1.3.247/layers/external/vma/vk_mem_alloc.h
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
#ifndef AMD_VULKAN_MEMORY_ALLOCATOR_H
|
||||
#define AMD_VULKAN_MEMORY_ALLOCATOR_H
|
||||
+#include <cstdio>
|
||||
|
||||
/** \mainpage Vulkan Memory Allocator
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cda2f78c894088787e77c52ea5bc968701e0fa7681e9ad533fc307f69f569ca8
|
||||
size 5005066
|
3
vulkan-sdk-1.3.268.0.tar.gz
Normal file
3
vulkan-sdk-1.3.268.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f6912ab49c2d379dd9ede59b4257d13dcac218ecd43df395a7d5914c7dfd024
|
||||
size 5004147
|
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 04:13:02 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release SDK-1.3.268.0
|
||||
* layers: Add support for Image Layout check for CopyImage
|
||||
* layers: Add support for TransitionImageLayoutEXT record
|
||||
* layers: Add layout checks to MemoryToImage & ImageToMemory
|
||||
* layers: Add validation for VK_EXT_shader_object,
|
||||
VkHostImageLayoutTransitionInfoEXT, VkCopyImageToImageEXT
|
||||
* layers: Add vkGetImageSubresourceLayout2KHR,
|
||||
ValidateHostCopyImageCreateInfos
|
||||
* layers: Support per-present-mode surface capabilities
|
||||
* layers: Introduce barrier structures
|
||||
* layers: Add thread safety checks for vkQueuePresentKHR
|
||||
* gpu: Remove SPIR-V disassembly from generated headers
|
||||
* layers: Add VK_EXT_calibrated_timestamps
|
||||
* More validations passes: invalid compute pipeline flags, linked
|
||||
tessellation shaders, mesh work groups, MRTSS rasterization
|
||||
samples, geometry shader input topology, pipeline formats in
|
||||
secondary cmd buffers, mesh shader queries, pipeline library
|
||||
flags, texel block extent in image copy, color attachments with
|
||||
advanced blend.
|
||||
* gpu: Add ability to select which shaders get instrumented
|
||||
* gpu: Use vku utilities for GPU-AV settings
|
||||
- Delete gcc13.diff, seems obsolete
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 23 19:30:07 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -17,31 +17,30 @@
|
||||
|
||||
|
||||
Name: vulkan-validationlayers
|
||||
Version: 1.3.261.0
|
||||
Version: 1.3.268.0
|
||||
Release: 0
|
||||
%define lname libVkLayer_utils-1_3_261_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/sdk-%version.tar.gz
|
||||
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/vulkan-sdk-%version.tar.gz
|
||||
Patch2: xxhash.diff
|
||||
Patch3: gcc13.diff
|
||||
BuildRequires: cmake >= 3.7.12
|
||||
%if 0%{?suse_version} >= 1599
|
||||
BuildRequires: gcc-c++
|
||||
%else
|
||||
BuildRequires: gcc11-c++
|
||||
%endif
|
||||
BuildRequires: glslang-devel >= 12.3.1+sdk261
|
||||
BuildRequires: glslang-devel >= 13.1.0
|
||||
BuildRequires: memory-constraints
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: spirv-headers >= 1.6.1+sdk250
|
||||
BuildRequires: spirv-tools-devel >= 2023.4~rc2
|
||||
BuildRequires: spirv-headers >= 1.6.1+sdk268
|
||||
BuildRequires: spirv-tools-devel >= 2023.5~rc1
|
||||
BuildRequires: vulkan-headers
|
||||
BuildRequires: vulkan-utility-libraries-devel >= 1.3.268
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: pkgconfig(vulkan) >= 1.3.261
|
||||
BuildRequires: pkgconfig(vulkan) >= 1.3.268
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
Conflicts: vulkan < 1.1
|
||||
@ -53,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-sdk-%version -p1
|
||||
%autosetup -n Vulkan-ValidationLayers-vulkan-sdk-%version -p1
|
||||
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt */CMakeLists.txt
|
||||
|
||||
%build
|
||||
|
26
xxhash.diff
26
xxhash.diff
@ -10,22 +10,22 @@ xxhash as well, so that the ABI matches.
|
||||
layers/CMakeLists.txt | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
Index: Vulkan-ValidationLayers-sdk-1.3.261.0/layers/CMakeLists.txt
|
||||
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/CMakeLists.txt
|
||||
===================================================================
|
||||
--- Vulkan-ValidationLayers-sdk-1.3.261.0.orig/layers/CMakeLists.txt
|
||||
+++ Vulkan-ValidationLayers-sdk-1.3.261.0/layers/CMakeLists.txt
|
||||
@@ -25,8 +25,6 @@ target_sources(VkLayer_utils PRIVATE
|
||||
containers/custom_containers.h
|
||||
error_message/logging.h
|
||||
error_message/logging.cpp
|
||||
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0.orig/layers/CMakeLists.txt
|
||||
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/CMakeLists.txt
|
||||
@@ -28,8 +28,6 @@ target_sources(VkLayer_utils PRIVATE
|
||||
error_message/error_location.cpp
|
||||
error_message/error_location.h
|
||||
error_message/record_object.h
|
||||
- external/xxhash.h
|
||||
- external/xxhash.cpp
|
||||
${API_TYPE}/generated/vk_function_pointers.cpp
|
||||
${API_TYPE}/generated/vk_function_pointers.h
|
||||
${API_TYPE}/generated/vk_format_utils.h
|
||||
@@ -70,6 +68,7 @@ target_compile_definitions(VkLayer_utils
|
||||
target_link_libraries(VkLayer_utils PUBLIC
|
||||
Vulkan::Headers
|
||||
${API_TYPE}/generated/error_location_helper.cpp
|
||||
${API_TYPE}/generated/error_location_helper.h
|
||||
${API_TYPE}/generated/pnext_chain_extraction.cpp
|
||||
@@ -76,6 +74,7 @@ target_link_libraries(VkLayer_utils PUBL
|
||||
Vulkan::LayerSettings
|
||||
Vulkan::UtilityHeaders
|
||||
${CMAKE_DL_LIBS}
|
||||
+ -lxxhash
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user