1
0

- Update to new upstream release 1.1.120

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=21
This commit is contained in:
Jan Engelhardt 2019-08-21 12:40:50 +00:00 committed by Git OBS Bridge
parent 6dcce8259d
commit 78708519e9
6 changed files with 28 additions and 41 deletions

View File

@ -1,30 +0,0 @@
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 a/layers/core_validation.cpp b/layers/core_validation.cpp
index 03149c08..75e473af 100644
--- a/layers/core_validation.cpp
+++ b/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);
--
2.22.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1db85374c3731f3414957d290e5170a772c3a6179fa3ab7c19d0d54606954413
size 795480

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d4e4bc9a0bd32b43e9b5e571367c43741a2407691d4c1410c3c8dfda6b57d3b
size 1106116

View File

@ -2,9 +2,9 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/Vulkan-ValidationLayers</param>
<param name="revision">52787ac40c8f945d734da3f550b10d92e3f5225e</param>
<param name="parent-tag">52787ac40c8f945d734da3f550b10d92e3f5225e</param>
<param name="versionformat">1.1.112</param>
<param name="revision">v1.1.120</param>
<param name="parent-tag">v1.1.120</param>
<param name="versionformat">1.1.120</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Aug 21 09:20:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 1.1.120
* layers: Add VK_KHR_uniform_buffer_standard_layout.
* layers: Split record/validation of Pipeline/Shaders.
* layers: Add accel structure tracking and validation.
* layers: Add validation for
VK_EXT_shader_demote_to_helper_invocation,
VK_EXT_texel_buffer_alignment,
VK_KHR_pipeline_executable_properties,
VK_EXT_line_rasterization, VkGeometryNV,
VkCommandBufferInheritanceInfo.
* layers: Added vu checks for imageless framebuffer.
- Drop 0001-layers-Use-correct-apiversion-for-properties-check.patch
-------------------------------------------------------------------
Fri Jul 12 02:56:05 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,24 +16,25 @@
#
%define version_unconverted 1.1.112
%define version_unconverted 1.1.120
Name: vulkan-validationlayers
Version: 1.1.112
Version: 1.1.120
Release: 0
Summary: Validation layers for Vulkan
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source: Vulkan-ValidationLayers-%version.tar.xz
Patch1: 0001-layers-Use-correct-apiversion-for-properties-check.patch
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 7.11.3188
BuildRequires: glslang-devel >= 7.12
BuildRequires: pkg-config
BuildRequires: python3-base
#BuildRequires: python3-spec_tools >= 1.1.112
BuildRequires: spirv-tools-devel >= 2019.4~git33
BuildRequires: pkgconfig(vulkan) >= 1.1.107
BuildRequires: pkgconfig(vulkan) >= 1.1.112
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)