Compare commits
96 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f186dcc1e | ||
|
|
fef1f34e04 | ||
|
|
d20c757347 | ||
|
|
0a00294322 | ||
|
|
d276542e82 | ||
|
|
5beacdd823 | ||
|
|
f3f7c6271f | ||
|
|
bd2fe82b29 | ||
|
|
fa26ba6f77 | ||
|
|
39d250f32c | ||
|
|
3e547610f3 | ||
|
|
0d83a7bfa3 | ||
|
|
e31c86cb20 | ||
|
|
dc9e34c3dd | ||
|
|
f9320bc0af | ||
|
|
42e8edbd9a | ||
|
|
c6f437e419 | ||
|
|
7b3ee33dc2 | ||
|
|
f54944d22a | ||
|
|
ea8bacdb09 | ||
|
|
24dae180cb | ||
|
|
99724b3880 | ||
|
|
79a991f725 | ||
|
|
5c00e2d574 | ||
|
|
24bff3a91f | ||
|
|
7463ddf703 | ||
|
|
bd3483c0f0 | ||
|
|
f3a02234a1 | ||
|
|
b4550a7992 | ||
|
|
ef30139374 | ||
|
|
1683e4ca58 | ||
|
|
1e87d83fd3 | ||
|
|
4b6928fe1c | ||
|
|
9ece395d1f | ||
|
|
5d5c5f1bcb | ||
|
|
0335441c25 | ||
|
|
1c80f44f65 | ||
|
|
4cbc77afba | ||
|
|
e831166e80 | ||
|
|
a6ebc0c75f | ||
|
|
c9c62d0da1 | ||
|
|
e6ef573239 | ||
|
|
c43e1768c2 | ||
|
|
aecb1704f7 | ||
|
|
746176d4b5 | ||
|
|
4050286b5e | ||
|
|
20564b2ec3 | ||
|
|
f6b9defb94 | ||
|
|
4509a3e6e5 | ||
|
|
604746fc1c | ||
|
|
c172847528 | ||
|
|
8c205e3ed5 | ||
|
|
91cada0ff3 | ||
|
|
92584b2713 | ||
|
|
943bc6d569 | ||
|
|
c744aef1da | ||
|
|
aea9cff0c6 | ||
|
|
d33c6e74ca | ||
|
|
1ec5e13986 | ||
|
|
be38b5f264 | ||
|
|
fd651498ff | ||
|
|
4c3f7bf1df | ||
|
|
0d679f4880 | ||
|
|
98d196dd4c | ||
|
|
9d4531d4de | ||
|
|
3755abddc2 | ||
|
|
7ab9a69f6a | ||
|
|
801dfb894b | ||
|
|
fc5ac18c47 | ||
|
|
08dd021080 | ||
|
|
d3da7d83d2 | ||
|
|
ac69505dae | ||
|
|
f3b2dc31c5 | ||
|
|
47a9204dd6 | ||
|
|
562a39ca9d | ||
|
|
23bc483475 | ||
|
|
93f811a29d | ||
|
|
f29784eaa3 | ||
|
|
8726f4993c | ||
|
|
04da2b996f | ||
|
|
73dceb49ed | ||
|
|
ff9959997d | ||
|
|
aacbd8955f | ||
|
|
5d423a9346 | ||
|
|
de25aade3f | ||
|
|
90e5fed5f7 | ||
|
|
9cde7ca61c | ||
|
|
ed20e40809 | ||
|
|
0d419bfe01 | ||
|
|
34efa97e42 | ||
|
|
c33093be2c | ||
|
|
340f5cae69 | ||
|
|
de5b2f9007 | ||
|
|
965d3e660e | ||
|
|
f87ba8da4d | ||
|
|
100749e02c |
6 changed files with 152 additions and 25 deletions
39
.gitignore
vendored
39
.gitignore
vendored
|
|
@ -1 +1,40 @@
|
|||
/Vulkan-ValidationLayers-sdk-1.1.77.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.82.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.92.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.97.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.101.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.108.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.114.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.1.126.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.131.1.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.135.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.148.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.154.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.162.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.176.1.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.182.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.189.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.2.198.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.204.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.211.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.216.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.224.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.231.1.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.239.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.243.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.250.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.250.1.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.261.1.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.268.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.275.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.280.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.283.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.290.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.3.296.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.304.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.309.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.313.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.321.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.328.1.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.341.0.tar.gz
|
||||
/Vulkan-ValidationLayers-sdk-1.4.350.0.tar.gz
|
||||
|
|
|
|||
29
.packit.yaml
Normal file
29
.packit.yaml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# packit config for vulkan-validation-layers
|
||||
# Build Stage 4 - depends on glslang, vulkan-utility-libraries
|
||||
|
||||
jobs:
|
||||
- job: koji_build
|
||||
trigger: commit | koji_build
|
||||
allowed_committers: [all_admins]
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
sidetag_group: vulkan-sdk-releases
|
||||
dependencies:
|
||||
- glslang
|
||||
- vulkan-utility-libraries
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
sidetag_group: vulkan-sdk-releases
|
||||
dependencies:
|
||||
- spirv-headers
|
||||
- vulkan-headers
|
||||
- spirv-tools
|
||||
- vulkan-loader
|
||||
- glslang
|
||||
- vulkan-utility-libraries
|
||||
- vulkan-volk
|
||||
- vulkan-tools
|
||||
- shaderc
|
||||
53
0001-add-missing-VK_LAYER_EXPORTs.patch
Normal file
53
0001-add-missing-VK_LAYER_EXPORTs.patch
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
From f519c98e77ae1e48efeda49db144e786dd99339b Mon Sep 17 00:00:00 2001
|
||||
From: Dave Airlie <airlied@redhat.com>
|
||||
Date: Wed, 15 Feb 2023 17:37:08 +1000
|
||||
Subject: [PATCH] add missing VK_LAYER_EXPORTs
|
||||
|
||||
---
|
||||
layers/layer_options.h | 2 +-
|
||||
layers/stateless/stateless_validation.h | 2 +-
|
||||
scripts/generators/layer_chassis_generator.py | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/layers/layer_options.h b/layers/layer_options.h
|
||||
index 97909a5ed..d19e42c01 100644
|
||||
--- a/layers/layer_options.h
|
||||
+++ b/layers/layer_options.h
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#define OBJECT_LAYER_NAME "VK_LAYER_KHRONOS_validation"
|
||||
|
||||
-extern std::vector<std::pair<uint32_t, uint32_t>> custom_stype_info;
|
||||
+VK_LAYER_EXPORT extern std::vector<std::pair<uint32_t, uint32_t>> custom_stype_info;
|
||||
|
||||
// Process validation features, flags and settings specified through extensions, a layer settings file, or environment variables
|
||||
|
||||
diff --git a/layers/stateless/stateless_validation.h b/layers/stateless/stateless_validation.h
|
||||
index e0f21b7a6..2fb8c6142 100644
|
||||
--- a/layers/stateless/stateless_validation.h
|
||||
+++ b/layers/stateless/stateless_validation.h
|
||||
@@ -31,7 +31,7 @@
|
||||
[[maybe_unused]] static const char *kVUID_PVError_ExtensionNotEnabled = "UNASSIGNED-GeneralParameterError-ExtensionNotEnabled";
|
||||
[[maybe_unused]] static const char *kVUID_PVError_ApiVersionViolation = "UNASSIGNED-API-Version-Violation";
|
||||
|
||||
-extern std::vector<std::pair<uint32_t, uint32_t>> custom_stype_info;
|
||||
+VK_LAYER_EXPORT extern std::vector<std::pair<uint32_t, uint32_t>> custom_stype_info;
|
||||
|
||||
// String returned by string_VkStructureType for an unrecognized type.
|
||||
const std::string UnsupportedStructureTypeString = "Unhandled VkStructureType";
|
||||
diff --git a/scripts/generators/layer_chassis_generator.py b/scripts/generators/layer_chassis_generator.py
|
||||
index be76d4204..62b442e8b 100644
|
||||
--- a/scripts/generators/layer_chassis_generator.py
|
||||
+++ b/scripts/generators/layer_chassis_generator.py
|
||||
@@ -845,7 +845,7 @@ class LayerChassisOutputGenerator(BaseGenerator):
|
||||
|
||||
out.append('''
|
||||
// Global list of sType,size identifiers
|
||||
- std::vector<std::pair<uint32_t, uint32_t>> custom_stype_info{};
|
||||
+ VK_LAYER_EXPORT std::vector<std::pair<uint32_t, uint32_t>> custom_stype_info{};
|
||||
|
||||
template <typename ValidationObjectType>
|
||||
ValidationObjectType* ValidationObject::GetValidationObject() const {
|
||||
--
|
||||
2.39.1
|
||||
|
||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# vulkan-validation-layers
|
||||
|
||||
The vulkan-validation-layers package
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (Vulkan-ValidationLayers-sdk-1.1.77.0.tar.gz) = 7207f0375145facf6526124764f57183d3b63de6b9ee5c35e0ca646f5dafecf6cd5639f81171151f9666fab19b79e3491bea9ad0db1806914971d174059de81e
|
||||
SHA512 (Vulkan-ValidationLayers-sdk-1.4.350.0.tar.gz) = 7005b696069d5580ffd1942f115b32a7b3fd2aa24bf9666222174e2d6f4d8471e5df7433b49c08360f9126dbd02cd4009dfcee4a6642948b8e36d658aad4d72b
|
||||
|
|
|
|||
|
|
@ -1,18 +1,23 @@
|
|||
Name: vulkan-validation-layers
|
||||
Version: 1.1.77.0
|
||||
Release: 3%{?dist}
|
||||
Version: 1.4.350.0
|
||||
Release: %autorelease
|
||||
Summary: Vulkan validation layers
|
||||
|
||||
License: ASL 2.0
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
|
||||
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
|
||||
Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: glslang-devel
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: python%{python3_pkgversion}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: spirv-tools-devel
|
||||
BuildRequires: spirv-headers-devel
|
||||
BuildRequires: vulkan-headers
|
||||
BuildRequires: vulkan-loader-devel
|
||||
BuildRequires: vulkan-utility-libraries-devel
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
|
|
@ -25,42 +30,40 @@ BuildRequires: pkgconfig(xcb)
|
|||
Vulkan validation layers
|
||||
|
||||
%prep
|
||||
%autosetup -n Vulkan-ValidationLayers-sdk-%{version}
|
||||
%autosetup -p1 -n Vulkan-ValidationLayers-vulkan-sdk-%{version}
|
||||
|
||||
|
||||
%build
|
||||
# Decrease debuginfo even on ix86 because of:
|
||||
%ifarch %{ix86}
|
||||
# Decrease debuginfo verbosity to reduce memory consumption even more
|
||||
%ifarch %{ix86}
|
||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||
%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
|
||||
%endif
|
||||
|
||||
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_bindir} .
|
||||
# Use two threads as build uses mega amounts of RAM
|
||||
# It still requires at least 16Gb to compile with 2 threads
|
||||
ninja -v -j2
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DUPDATE_DEPS=OFF \
|
||||
-DBUILD_WERROR=OFF \
|
||||
-DGLSLANG_INSTALL_DIR=%{_prefix} \
|
||||
-DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \
|
||||
-DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \
|
||||
-DSPIRV_HEADERS_INSTALL_DIR=%{_prefix} \
|
||||
-DVULKAN_HEADERS_INSTALL_DIR=%{_prefix} \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%ninja_install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.txt COPYRIGHT.txt
|
||||
%license LICENSE.txt
|
||||
%doc README.md CONTRIBUTING.md
|
||||
%{_datadir}/vulkan/explicit_layer.d/*.json
|
||||
%{_libdir}/libVkLayer_*.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
|
||||
- Workaround i686 build issue
|
||||
|
||||
* Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
|
||||
- Exclude i686 due to 'virtual memory exhausted' FTBFS
|
||||
|
||||
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
|
||||
- Initial package
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue