From e8e6e429c87a3d8b17165eef9c367ceb9d0c095d9bfac022a1b9a1aa222b9db6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Dec 2020 16:40:57 +0000 Subject: [PATCH] - Update to release 1.2.162.0 (sdk) OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=71 --- prov.diff | 24 ------------------------ sdk-1.2.162.0.tar.gz | 3 +++ v1.2.161.tar.gz | 3 --- vulkan-validationlayers.changes | 8 ++++++++ vulkan-validationlayers.spec | 7 +++---- xxhash.diff | 10 +++++----- 6 files changed, 19 insertions(+), 36 deletions(-) delete mode 100644 prov.diff create mode 100644 sdk-1.2.162.0.tar.gz delete mode 100644 v1.2.161.tar.gz diff --git a/prov.diff b/prov.diff deleted file mode 100644 index 021e7c1..0000000 --- a/prov.diff +++ /dev/null @@ -1,24 +0,0 @@ -From: Jan Engelhardt -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 - diff --git a/sdk-1.2.162.0.tar.gz b/sdk-1.2.162.0.tar.gz new file mode 100644 index 0000000..cc57ed1 --- /dev/null +++ b/sdk-1.2.162.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80aa9e180b3900598121d7a3ea613665b99aae21bb40268ecafd82df8016c6f5 +size 2427779 diff --git a/v1.2.161.tar.gz b/v1.2.161.tar.gz deleted file mode 100644 index 18fa06d..0000000 --- a/v1.2.161.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:beeabb9000f0d1b37c3b5adaf395bb319cfc084d8e4eef29cd74891054370943 -size 2375030 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index a7fde4e..ce52315 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Dec 15 16:27:19 UTC 2020 - Jan Engelhardt + +- 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 diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 6437ca1..386e7f9 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -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 diff --git a/xxhash.diff b/xxhash.diff index c4b6771..e068754 100644 --- a/xxhash.diff +++ b/xxhash.diff @@ -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.