- Update to release SDK-1.2.182.0
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=87
This commit is contained in:
parent
7aae158e68
commit
21f838174e
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<memoryperjob>
|
||||
<size unit="M">2000</size>
|
||||
</memoryperjob>
|
||||
</hardware>
|
||||
</constraints>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:531fca7db333e1e36f643dbad2d621d08f5f6a17b8b3745ef062c01079fe7631
|
||||
size 2708573
|
3
sdk-1.2.182.0.tar.gz
Normal file
3
sdk-1.2.182.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e88492143c8b08154807e7ead0ac784365b14464bb5016c2800cbff176ff61e7
|
||||
size 2794981
|
28
ver.diff
28
ver.diff
@ -4,14 +4,15 @@ Date: 2020-08-19 13:21:33.156157310 +0200
|
||||
We do not want static archives in openSUSE, so need to turn on SHARED mode.
|
||||
As a result, a version needs to be added.
|
||||
---
|
||||
CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
CMakeLists.txt | 3 ++-
|
||||
layers/vk_layer_config.h | 2 +-
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: Vulkan-ValidationLayers-1.2.169/CMakeLists.txt
|
||||
Index: Vulkan-ValidationLayers-sdk-1.2.182.0/CMakeLists.txt
|
||||
===================================================================
|
||||
--- Vulkan-ValidationLayers-1.2.169.orig/CMakeLists.txt
|
||||
+++ Vulkan-ValidationLayers-1.2.169/CMakeLists.txt
|
||||
@@ -284,11 +284,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s
|
||||
--- Vulkan-ValidationLayers-sdk-1.2.182.0.orig/CMakeLists.txt
|
||||
+++ Vulkan-ValidationLayers-sdk-1.2.182.0/CMakeLists.txt
|
||||
@@ -362,11 +362,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s
|
||||
# files directly in layers.
|
||||
|
||||
add_library(VkLayer_utils
|
||||
@ -24,4 +25,17 @@ Index: Vulkan-ValidationLayers-1.2.169/CMakeLists.txt
|
||||
+set_target_properties(VkLayer_utils PROPERTIES OUTPUT_NAME "VkLayer_utils-@PACKAGE_VERSION@")
|
||||
target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers)
|
||||
set_target_properties(VkLayer_utils PROPERTIES CXX_STANDARD ${VVL_CPP_STANDARD})
|
||||
if(WIN32)
|
||||
if (UPDATE_DEPS)
|
||||
Index: Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h
|
||||
===================================================================
|
||||
--- Vulkan-ValidationLayers-sdk-1.2.182.0.orig/layers/vk_layer_config.h
|
||||
+++ Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h
|
||||
@@ -33,7 +33,7 @@
|
||||
#define SECONDARY_VK_REGISTRY_HIVE_STR "HKEY_CURRENT_USER"
|
||||
#endif
|
||||
|
||||
-std::string GetEnvironment(const char *variable);
|
||||
+VK_LAYER_EXPORT std::string GetEnvironment(const char *variable);
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 09:04:05 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release SDK-1.2.182.0
|
||||
* Add VK_NV_inherited_viewport_scissor support
|
||||
* Validate provoking vertex
|
||||
* Add Support for VK_QCOM_render_pass_shader_resolve
|
||||
* Add default shader validation cache
|
||||
* Add validation for VK_EXT_multi_draw
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 5 08:03:31 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: vulkan-validationlayers
|
||||
Version: 1.2.176.0
|
||||
Version: 1.2.182.0
|
||||
Release: 0
|
||||
%define lname libVkLayer_utils-1_2_176_0
|
||||
%define lname libVkLayer_utils-1_2_182_0
|
||||
Summary: Validation layers for Vulkan
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Other
|
||||
@ -31,13 +31,14 @@ Patch1: ver.diff
|
||||
Patch2: xxhash.diff
|
||||
BuildRequires: cmake >= 3.4
|
||||
BuildRequires: gcc-c++ >= 4.8
|
||||
BuildRequires: glslang-devel >= 11
|
||||
BuildRequires: glslang-devel >= 11.4.0
|
||||
BuildRequires: memory-constraints
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: spirv-headers >= 1.5.4.g57
|
||||
BuildRequires: spirv-tools-devel >= 2020.7
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: pkgconfig(vulkan) >= 1.2.161
|
||||
BuildRequires: pkgconfig(vulkan) >= 1.2.176
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
Conflicts: vulkan < 1.1
|
||||
@ -73,6 +74,7 @@ This package contains support files for the VkLayer utility library.
|
||||
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
|
||||
|
||||
%build
|
||||
%limit_build -m 2000
|
||||
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \
|
||||
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
|
||||
-DBUILD_LAYER_SUPPORT_FILES=ON \
|
||||
|
Loading…
Reference in New Issue
Block a user