vulkan-tools: update to 1.3.213

This commit is contained in:
Rudi Heitbaum 2022-05-13 01:57:13 +00:00
parent 7bee18d7d7
commit 131c12882c
2 changed files with 30 additions and 2 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="vulkan-tools"
PKG_VERSION="1.3.212"
PKG_SHA256="2c01e763fabd79cc7d48bba4fab37fd5bc7d548b2f67535224aa275a08fa8125"
PKG_VERSION="1.3.213"
PKG_SHA256="2b20b9c8cefe26f8d7df5f6b270c6a6d4dcf5fe0995f779abac2f0fa658c5798"
PKG_LICENSE="Apache-2.0"
PKG_SITE="https://github.com/KhronosGroup/Vulkan-Tools"
PKG_URL="https://github.com/KhronosGroup/Vulkan-tools/archive/v${PKG_VERSION}.tar.gz"

View File

@ -0,0 +1,28 @@
From 0b9e94639152f3d4f5c13a6ff46087dc51258996 Mon Sep 17 00:00:00 2001
From: Mike Schuchardt <mikes@lunarg.com>
Date: Wed, 11 May 2022 15:43:28 -0700
Subject: [PATCH] cubepp: Fix VK_KHR_display compile error
Vulkan-Hpp Implicit-cast operators on vk::ResultValue were previously
deprecated and finally removed in the v1.3.213 headers. Fix the
resulting compiler error in cubepp by explicitly using the value member
of vk:ResultValue.
Change-Id: Ie441bd56dfb9dfe26e966e0ec3fb3139712a351a
---
cube/cube.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cube/cube.cpp b/cube/cube.cpp
index 03fd65b46..e984fabb4 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -2962,7 +2962,7 @@ vk::Result Demo::create_display_surface() {
exit(1);
}
- vk::DisplayPlaneCapabilitiesKHR planeCaps = gpu.getDisplayPlaneCapabilitiesKHR(display_mode_prop.displayMode, plane_found);
+ vk::DisplayPlaneCapabilitiesKHR planeCaps = gpu.getDisplayPlaneCapabilitiesKHR(display_mode_prop.displayMode, plane_found).value;
// Find a supported alpha mode
vk::DisplayPlaneAlphaFlagBitsKHR alphaMode = vk::DisplayPlaneAlphaFlagBitsKHR::eOpaque;
std::array<vk::DisplayPlaneAlphaFlagBitsKHR, 4> alphaModes = {