diff --git a/.gitignore b/.gitignore index c552458..e2af6f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/Vulkan-ValidationLayers-sdk-1.2.189.0.tar.gz +SOURCES/Vulkan-ValidationLayers-sdk-1.2.198.0.tar.gz diff --git a/.vulkan-validation-layers.metadata b/.vulkan-validation-layers.metadata index d924cf7..a1859ac 100644 --- a/.vulkan-validation-layers.metadata +++ b/.vulkan-validation-layers.metadata @@ -1 +1 @@ -228e5ead2b27ede3a4a83939c9a6ac7579cb646c SOURCES/Vulkan-ValidationLayers-sdk-1.2.189.0.tar.gz +63bf7f912945912def63a309b86ce05a432df564 SOURCES/Vulkan-ValidationLayers-sdk-1.2.198.0.tar.gz diff --git a/SOURCES/fix-api.patch b/SOURCES/fix-api.patch new file mode 100644 index 0000000..21f051b --- /dev/null +++ b/SOURCES/fix-api.patch @@ -0,0 +1,12 @@ +diff -up Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp.dma Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp +--- Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp.dma 2021-12-09 19:37:52.918639116 +1000 ++++ Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp 2021-12-09 19:38:15.449247456 +1000 +@@ -1300,7 +1300,7 @@ bool GpuAssisted::InstrumentShader(const + optimizer.RegisterPass(CreateInstBindlessCheckPass(desc_set_bind_index, unique_shader_module_id, descriptor_indexing, + descriptor_indexing, buffer_oob_enabled, buffer_oob_enabled)); + // Call CreateAggressiveDCEPass with preserve_interface == true +- optimizer.RegisterPass(CreateAggressiveDCEPass(true)); ++ optimizer.RegisterPass(CreateAggressiveDCEPassPreserveInterface()); + if ((IsExtEnabled(device_extensions.vk_ext_buffer_device_address) || + IsExtEnabled(device_extensions.vk_khr_buffer_device_address)) && + shaderInt64 && enabled_features.core12.bufferDeviceAddress) { diff --git a/SPECS/vulkan-validation-layers.spec b/SPECS/vulkan-validation-layers.spec index f93927e..1fb803c 100644 --- a/SPECS/vulkan-validation-layers.spec +++ b/SPECS/vulkan-validation-layers.spec @@ -1,6 +1,6 @@ Name: vulkan-validation-layers -Version: 1.2.189.0 -Release: 2%{?dist} +Version: 1.2.198.0 +Release: 3%{?dist} Summary: Vulkan validation layers License: ASL 2.0 @@ -8,7 +8,7 @@ URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz Patch0: fix_shared.patch Patch1: add-missing-export.patch - +Patch2: fix-api.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake @@ -76,6 +76,12 @@ developing applications that use %{name}. %{_includedir}/vulkan/ %changelog +* Thu Dec 09 2021 Dave Airlie - 1.2.198.0-3 +- Rebuild for spirv-tools + +* Wed Dec 01 2021 Dave Airlie - 1.2.198.0-2 +- Update to 1.2.198.0 + * Wed Sep 08 2021 Dave Airlie - 1.2.189.0-2 - Update to 1.2.189.0 SDK