Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vulkan-tools for openSUSE:Factory 
checked in at 2022-10-27 13:53:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vulkan-tools (Old)
 and      /work/SRC/openSUSE:Factory/.vulkan-tools.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vulkan-tools"

Thu Oct 27 13:53:16 2022 rev:38 rq:1030958 version:1.3.231

Changes:
--------
--- /work/SRC/openSUSE:Factory/vulkan-tools/vulkan-tools.changes        
2022-08-24 15:10:39.576475372 +0200
+++ /work/SRC/openSUSE:Factory/.vulkan-tools.new.2275/vulkan-tools.changes      
2022-10-27 13:53:35.160388054 +0200
@@ -1,0 +2,7 @@
+Mon Oct 24 19:54:24 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 1.3.231.0
+  * Adapt to Vulkan 231 API, but otherwise no interesting changes
+- Add 0001-cubepp-Fix-presentKHR-assert.patch
+
+-------------------------------------------------------------------

Old:
----
  sdk-1.3.224.0.tar.gz

New:
----
  0001-cubepp-Fix-presentKHR-assert.patch
  v1.3.231.tar.gz

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

Other differences:
------------------
++++++ vulkan-tools.spec ++++++
--- /var/tmp/diff_new_pack.1pSrx1/_old  2022-10-27 13:53:35.780391216 +0200
+++ /var/tmp/diff_new_pack.1pSrx1/_new  2022-10-27 13:53:35.788391257 +0200
@@ -17,20 +17,21 @@
 
 
 Name:           vulkan-tools
-Version:        1.3.224.0
+Version:        1.3.231
 Release:        0
 Summary:        Diagnostic utilities for Vulkan
 License:        Apache-2.0
 Group:          Development/Tools/Other
 URL:            https://github.com/KhronosGroup/Vulkan-Tools
 
-Source:         
https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/sdk-%version.tar.gz
+Source:         
https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/v%version.tar.gz
+Patch1:         0001-cubepp-Fix-presentKHR-assert.patch
 BuildRequires:  cmake >= 3.4
 BuildRequires:  gcc-c++ >= 4.8
 BuildRequires:  glslang-devel >= 8.13.3743
 BuildRequires:  pkg-config
 BuildRequires:  python3-base
-BuildRequires:  pkgconfig(vulkan) >= 1.3.211
+BuildRequires:  pkgconfig(vulkan) >= 1.3.231
 BuildRequires:  pkgconfig(wayland-protocols)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xcb)
@@ -45,7 +46,7 @@
 This package contains the Khronos official Vulkan tools and utilities.
 
 %prep
-%autosetup -p1 -n Vulkan-Tools-sdk-%version
+%autosetup -p1 -n Vulkan-Tools-%version
 
 %build
 mkdir -p glslang/bin

++++++ 0001-cubepp-Fix-presentKHR-assert.patch ++++++
>From 8d2d3e22d684540fdc5a76c15e456fc2fd11e4b7 Mon Sep 17 00:00:00 2001
From: Juan Ramos <j...@lunarg.com>
Date: Wed, 19 Oct 2022 16:51:58 -0600
Subject: [PATCH] cubepp: Fix presentKHR assert

Currently cubepp fails on Debug builds and triggers an assert.

This avoids the assert by calling the appropriate presentKHR.
---
 cube/cube.cpp | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/cube/cube.cpp b/cube/cube.cpp
index aa3d7b20..90000789 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -706,14 +706,15 @@ void Demo::draw() {
         VERIFY(change_owner_result == vk::Result::eSuccess);
     }
 
+    const auto presentInfo = vk::PresentInfoKHR()
+                                 .setWaitSemaphores(separate_present_queue ? 
image_ownership_semaphores[frame_index]
+                                                                           : 
draw_complete_semaphores[frame_index])
+                                 .setSwapchains(swapchain)
+                                 .setImageIndices(current_buffer);
+
     // If we are using separate queues we have to wait for image ownership,
     // otherwise wait for draw complete
-    auto present_result =
-        present_queue.presentKHR(vk::PresentInfoKHR()
-                                     .setWaitSemaphores(separate_present_queue 
? image_ownership_semaphores[frame_index]
-                                                                               
: draw_complete_semaphores[frame_index])
-                                     .setSwapchains(swapchain)
-                                     .setImageIndices(current_buffer));
+    auto present_result = present_queue.presentKHR(&presentInfo);
     frame_index += 1;
     frame_index %= FRAME_LAG;
     if (present_result == vk::Result::eErrorOutOfDateKHR) {
-- 
2.38.0

Reply via email to