Hello community,

here is the log from the commit of package vulkan-loader for openSUSE:Factory 
checked in at 2020-10-03 18:55:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vulkan-loader (Old)
 and      /work/SRC/openSUSE:Factory/.vulkan-loader.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vulkan-loader"

Sat Oct  3 18:55:23 2020 rev:28 rq:836404 version:1.2.153

Changes:
--------
--- /work/SRC/openSUSE:Factory/vulkan-loader/vulkan-loader.changes      
2020-09-18 14:28:28.191294561 +0200
+++ /work/SRC/openSUSE:Factory/.vulkan-loader.new.4249/vulkan-loader.changes    
2020-10-03 18:55:34.757487392 +0200
@@ -1,0 +2,9 @@
+Wed Sep 23 19:46:21 UTC 2020 - MichaƂ Rostecki <mroste...@suse.com>
+
+- Add patch which reverts a commit breaking Steam Play / Proton:
+  * 0001-Revert-loader-Return-error-if-layer-loading-failed.patch
+  Related issues:
+  * https://github.com/ValveSoftware/steam-for-linux/issues/7368
+  * https://github.com/KhronosGroup/Vulkan-Loader/issues/472
+
+-------------------------------------------------------------------

New:
----
  0001-Revert-loader-Return-error-if-layer-loading-failed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vulkan-loader.spec ++++++
--- /var/tmp/diff_new_pack.sbriyZ/_old  2020-10-03 18:55:35.681488416 +0200
+++ /var/tmp/diff_new_pack.sbriyZ/_new  2020-10-03 18:55:35.681488416 +0200
@@ -26,6 +26,7 @@
 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
@@ -66,7 +67,7 @@
 to make use of Vulkan.
 
 %prep
-%autosetup -n Vulkan-Loader-%version
+%autosetup -p1 -n Vulkan-Loader-%version
 
 %build
 %cmake \

++++++ 0001-Revert-loader-Return-error-if-layer-loading-failed.patch ++++++
>From 8fdc320b442c45f25044826715058ce3569f3ae1 Mon Sep 17 00:00:00 2001
From: Charles Giessen <char...@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


Reply via email to