1
0
forked from pool/vulkan-loader

Accepting request 836404 from X11:Wayland

baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/836404
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-loader?expand=0&rev=69
This commit is contained in:
OBS User buildservice-autocommit 2020-10-03 16:55:23 +00:00 committed by Git OBS Bridge
parent cfb98aadfd
commit 9b731f0aa6
2 changed files with 0 additions and 29 deletions

View File

@ -1,28 +0,0 @@
From 8fdc320b442c45f25044826715058ce3569f3ae1 Mon Sep 17 00:00:00 2001
From: Charles Giessen <charles@lunarg.com>
Date: Thu, 17 Sep 2020 16:31:16 -0600
Subject: [PATCH] Revert "loader: Return error if layer loading failed"
This reverts commit 49648d8fb398ac7d3d8e159939de060b8e759ecf.
Many layers were relying on silently failing to allow 32/64 bit versions
to work on linux. A later commit will properly check for failing layers.
---
loader/loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/loader/loader.c b/loader/loader.c
index dd7f7d5b7..4d8865e13 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -5942,7 +5942,7 @@ VkResult loader_create_instance_chain(const VkInstanceCreateInfo *pCreateInfo, c
lib_handle = loaderOpenLayerFile(inst, "instance", layer_prop);
if (!lib_handle) {
- return VK_ERROR_LAYER_NOT_PRESENT;
+ continue;
}
if (NULL == layer_prop->functions.negotiate_layer_interface) {
--
2.28.0

View File

@ -27,7 +27,6 @@ Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/Vulkan-Loader
Source: https://github.com/KhronosGroup/Vulkan-Loader/archive/v%version.tar.gz
Source9: baselibs.conf
Patch0: 0001-Revert-loader-Return-error-if-layer-loading-failed.patch
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
BuildRequires: pkgconfig