mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
Vulkan-ValidationLayers: update to 1.1.127
This commit is contained in:
parent
106a275ecd
commit
d6175216a3
2 changed files with 13 additions and 38 deletions
|
@ -1,29 +0,0 @@
|
||||||
https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/1024
|
|
||||||
|
|
||||||
From 5e3bf3d651e08cb7464f6c7270a9637239fc13bb Mon Sep 17 00:00:00 2001
|
|
||||||
From: John Zulauf <jzulauf@lunarg.com>
|
|
||||||
Date: Sat, 29 Jun 2019 07:55:57 -0600
|
|
||||||
Subject: [PATCH] layers: Use correct apiversion for properties check
|
|
||||||
|
|
||||||
Change layers property check from physical device apiVersion to the
|
|
||||||
effective apiVersion (the lesser of the device and CreateInstance
|
|
||||||
apiVersion values) to avoid invalid downchain call.
|
|
||||||
|
|
||||||
Change-Id: I282950f0f8927df280c97098e775a6940db809f1
|
|
||||||
---
|
|
||||||
layers/core_validation.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git layers/core_validation.cpp layers/core_validation.cpp
|
|
||||||
index 03149c08d..75e473af1 100644
|
|
||||||
--- layers/core_validation.cpp
|
|
||||||
+++ layers/core_validation.cpp
|
|
||||||
@@ -2412,7 +2412,7 @@ void CoreChecks::PostCallRecordCreateDevice(VkPhysicalDevice gpu, const VkDevice
|
|
||||||
instance_dispatch_table.GetPhysicalDeviceCooperativeMatrixPropertiesNV(gpu, &numCooperativeMatrixProperties,
|
|
||||||
core_checks->cooperative_matrix_properties.data());
|
|
||||||
}
|
|
||||||
- if (core_checks->phys_dev_props.apiVersion >= VK_API_VERSION_1_1) {
|
|
||||||
+ if (core_checks->api_version >= VK_API_VERSION_1_1) {
|
|
||||||
// Get the needed subgroup limits
|
|
||||||
auto subgroup_prop = lvl_init_struct<VkPhysicalDeviceSubgroupProperties>();
|
|
||||||
auto prop2 = lvl_init_struct<VkPhysicalDeviceProperties2KHR>(&subgroup_prop);
|
|
|
@ -1,16 +1,20 @@
|
||||||
# Template file for 'Vulkan-ValidationLayers'
|
# Template file for 'Vulkan-ValidationLayers'
|
||||||
pkgname=Vulkan-ValidationLayers
|
pkgname=Vulkan-ValidationLayers
|
||||||
version=1.1.112
|
version=1.1.127
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DGLSLANG_INSTALL_DIR=/usr
|
configure_args="-C ${XBPS_CROSS_BASE}/tmp/helper.cmake"
|
||||||
-DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
|
hostmakedepends="python3 git pkg-config"
|
||||||
hostmakedepends="python3 pkg-config"
|
makedepends="libXrandr-devel wayland-devel"
|
||||||
makedepends="Vulkan-Headers SPIRV-Tools-devel glslang-devel libXrandr-devel
|
short_desc="Khronos official Vulkan validation layers"
|
||||||
wayland-devel"
|
|
||||||
short_desc="Vulkan validation layers"
|
|
||||||
maintainer="Colin Gillespie <colin@breavyn.com>"
|
maintainer="Colin Gillespie <colin@breavyn.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://www.khronos.org/vulkan/"
|
homepage="https://www.khronos.org/vulkan/"
|
||||||
distfiles="https://github.com/KhronosGroup/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/KhronosGroup/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=6ba1a0d8082975b4ac39ae01be5e1d5e722247a14a8ac20ce0e9d21a09bfc268
|
checksum=2ffe0d899c74ce0fc3c7ba9f90eccd5b3b78e0f90519dee9c701366bc0f795be
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# Fetch and compile "known good" versions of dependencies
|
||||||
|
./scripts/update_deps.py --dir=${XBPS_CROSS_BASE}/tmp
|
||||||
|
# NOTE: this directory won't be cleaned by xbps-src clean
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue