vulkan-tools: update to 1.3.214

This commit is contained in:
Rudi Heitbaum 2022-05-18 11:06:28 +00:00
parent 298d4f48b8
commit 4516893dc2
2 changed files with 2 additions and 30 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="vulkan-tools"
PKG_VERSION="1.3.213"
PKG_SHA256="2b20b9c8cefe26f8d7df5f6b270c6a6d4dcf5fe0995f779abac2f0fa658c5798"
PKG_VERSION="1.3.214"
PKG_SHA256="fc2b962ba9b386fd0e5ddb0af9b227d899319c7764d3c7c3479880007e17d745"
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

@ -1,28 +0,0 @@
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 = {