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.154.tar.gz b/v1.2.154.tar.gz deleted file mode 100644 index a7c2eb0..0000000 --- a/v1.2.154.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebad2409123f3ad476daab7e064bd8e9049bfa977382acdd1b9f20df8e6c965e -size 2312569 diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 78c2ff8..ce52315 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +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 + +- Update to release 1.2.161 + * syncval: Add multi subpass dep support + * layers: Allow for sampler with null image view + * layers: Add support for KHR_copy_commands2 + * layers: Add missing 1.2 overload functions + * layers: Add VK_EXT_4444_formats support + * layers: Check nullDescriptor when validating vertex attributes +- Add prov.diff + ------------------------------------------------------------------- Mon Sep 28 22:12:38 UTC 2020 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index ee8ff10..f9296d5 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -17,15 +17,15 @@ Name: vulkan-validationlayers -Version: 1.2.154 +Version: 1.2.162.0 Release: 0 -%define lname libVkLayer_utils-1_2_154 +%define lname libVkLayer_utils-1_2_162_0 Summary: Validation layers for Vulkan 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 @@ -69,14 +69,14 @@ 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 %cmake -DGLSLANG_INSTALL_DIR="%_bindir" \ -DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \ -DBUILD_LAYER_SUPPORT_FILES=ON -make %{?_smp_mflags} +%cmake_build %install %cmake_install 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.