Merge pull request #6483 from heitbaum/vulkan

Vulkan updates: 1.3.213
This commit is contained in:
CvH 2022-05-13 20:13:37 +02:00 committed by GitHub
commit 4414c8248c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 6 deletions

View File

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

View File

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

View File

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