- Update to release 1.2.162.0 (sdk)

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=71
This commit is contained in:
Jan Engelhardt 2020-12-15 16:40:57 +00:00 committed by Git OBS Bridge
parent a10ce2ffcf
commit e8e6e429c8
6 changed files with 19 additions and 36 deletions

View File

@ -1,24 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-11-25 18:43:25.152168697 +0100
---
layers/shader_validation.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: Vulkan-ValidationLayers-1.2.161/layers/shader_validation.cpp
===================================================================
--- Vulkan-ValidationLayers-1.2.161.orig/layers/shader_validation.cpp
+++ Vulkan-ValidationLayers-1.2.161/layers/shader_validation.cpp
@@ -2227,9 +2227,9 @@ bool CoreChecks::ValidateShaderCapabilit
// Should be non-EXT token, but Android SPIRV-Headers are out of date, and the token value is the same anyway
{spv::CapabilityPhysicalStorageBufferAddressesEXT, {"VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::bufferDeviceAddress", &VkPhysicalDeviceVulkan12Features::bufferDeviceAddress, &DeviceExtensions::vk_khr_buffer_device_address}},
- {spv::CapabilityRayTracingProvisionalKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing, &DeviceExtensions::vk_khr_ray_tracing}},
- {spv::CapabilityRayQueryProvisionalKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery", &VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery, &DeviceExtensions::vk_khr_ray_tracing}},
- {spv::CapabilityRayTraversalPrimitiveCullingProvisionalKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling, &DeviceExtensions::vk_khr_ray_tracing}},
+ {spv::CapabilityRayTracingKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing, &DeviceExtensions::vk_khr_ray_tracing}},
+ {spv::CapabilityRayQueryKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery", &VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery, &DeviceExtensions::vk_khr_ray_tracing}},
+ {spv::CapabilityRayTraversalPrimitiveCullingKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling, &DeviceExtensions::vk_khr_ray_tracing}},
};
// clang-format on

3
sdk-1.2.162.0.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Dec 15 16:27:19 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.162.0 (sdk)
* gpu: Add buffer out of bounds access validation
* gpu: Add buffer OOB validation of texel buffers
- Drop prov.diff (merged)
-------------------------------------------------------------------
Wed Nov 25 17:04:17 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,7 +17,7 @@
Name: vulkan-validationlayers
Version: 1.2.161
Version: 1.2.162.0
Release: 0
%define lname libVkLayer_utils-1_2_161
Summary: Validation layers for Vulkan
@ -25,11 +25,10 @@ License: Apache-2.0
Group: Development/Tools/Other
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v%version.tar.gz
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-%version.tar.gz
Source9: %name-rpmlintrc
Patch1: ver.diff
Patch2: xxhash.diff
Patch3: prov.diff
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 8.13.3727
@ -70,7 +69,7 @@ Vulkan is a 3D graphics and compute API.
This package contains support files for the VkLayer utility library.
%prep
%autosetup -n Vulkan-ValidationLayers-%version -p1
%autosetup -n Vulkan-ValidationLayers-sdk-%version -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
%build

View File

@ -10,10 +10,10 @@ xxhash as well, so that the ABI matches.
layers/CMakeLists.txt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Index: Vulkan-ValidationLayers/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-sdk-1.2.162.0/layers/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers/layers/CMakeLists.txt
--- Vulkan-ValidationLayers-sdk-1.2.162.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.2.162.0/layers/CMakeLists.txt
@@ -61,8 +61,6 @@ if(BUILD_LAYER_SUPPORT_FILES)
vk_layer_utils.h
vk_layer_utils.cpp
@ -39,5 +39,5 @@ Index: Vulkan-ValidationLayers/layers/CMakeLists.txt
- target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_LIBRARIES})
+ target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_LIBRARIES} -lxxhash)
# The output file needs Unix "/" separators or Windows "\" separators On top of that, Windows separators actually need to be doubled
# because the json format uses backslash escapes
# Force generation of the PDB file for Release builds.
# Note that CMake reduces optimization levels for RelWithDebInfo builds.