diff --git a/_constraints b/_constraints
deleted file mode 100644
index 9b9bf8c..0000000
--- a/_constraints
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- 2000
-
-
-
\ No newline at end of file
diff --git a/sdk-1.2.176.0.tar.gz b/sdk-1.2.176.0.tar.gz
deleted file mode 100644
index 4d308bf..0000000
--- a/sdk-1.2.176.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:531fca7db333e1e36f643dbad2d621d08f5f6a17b8b3745ef062c01079fe7631
-size 2708573
diff --git a/sdk-1.2.182.0.tar.gz b/sdk-1.2.182.0.tar.gz
new file mode 100644
index 0000000..bf2148d
--- /dev/null
+++ b/sdk-1.2.182.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e88492143c8b08154807e7ead0ac784365b14464bb5016c2800cbff176ff61e7
+size 2794981
diff --git a/ver.diff b/ver.diff
index fd3b276..e35a3cf 100644
--- a/ver.diff
+++ b/ver.diff
@@ -4,14 +4,15 @@ Date: 2020-08-19 13:21:33.156157310 +0200
We do not want static archives in openSUSE, so need to turn on SHARED mode.
As a result, a version needs to be added.
---
- CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
+ CMakeLists.txt | 3 ++-
+ layers/vk_layer_config.h | 2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
-Index: Vulkan-ValidationLayers-1.2.169/CMakeLists.txt
+Index: Vulkan-ValidationLayers-sdk-1.2.182.0/CMakeLists.txt
===================================================================
---- Vulkan-ValidationLayers-1.2.169.orig/CMakeLists.txt
-+++ Vulkan-ValidationLayers-1.2.169/CMakeLists.txt
-@@ -284,11 +284,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s
+--- Vulkan-ValidationLayers-sdk-1.2.182.0.orig/CMakeLists.txt
++++ Vulkan-ValidationLayers-sdk-1.2.182.0/CMakeLists.txt
+@@ -362,11 +362,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s
# files directly in layers.
add_library(VkLayer_utils
@@ -24,4 +25,17 @@ Index: Vulkan-ValidationLayers-1.2.169/CMakeLists.txt
+set_target_properties(VkLayer_utils PROPERTIES OUTPUT_NAME "VkLayer_utils-@PACKAGE_VERSION@")
target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers)
set_target_properties(VkLayer_utils PROPERTIES CXX_STANDARD ${VVL_CPP_STANDARD})
- if(WIN32)
+ if (UPDATE_DEPS)
+Index: Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h
+===================================================================
+--- Vulkan-ValidationLayers-sdk-1.2.182.0.orig/layers/vk_layer_config.h
++++ Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h
+@@ -33,7 +33,7 @@
+ #define SECONDARY_VK_REGISTRY_HIVE_STR "HKEY_CURRENT_USER"
+ #endif
+
+-std::string GetEnvironment(const char *variable);
++VK_LAYER_EXPORT std::string GetEnvironment(const char *variable);
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes
index bcd4e9e..a9e1c9c 100644
--- a/vulkan-validationlayers.changes
+++ b/vulkan-validationlayers.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Tue Jul 6 09:04:05 UTC 2021 - Jan Engelhardt
+
+- Update to release SDK-1.2.182.0
+ * Add VK_NV_inherited_viewport_scissor support
+ * Validate provoking vertex
+ * Add Support for VK_QCOM_render_pass_shader_resolve
+ * Add default shader validation cache
+ * Add validation for VK_EXT_multi_draw
+
-------------------------------------------------------------------
Wed May 5 08:03:31 UTC 2021 - Jan Engelhardt
diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec
index 7093c30..a24734b 100644
--- a/vulkan-validationlayers.spec
+++ b/vulkan-validationlayers.spec
@@ -17,9 +17,9 @@
Name: vulkan-validationlayers
-Version: 1.2.176.0
+Version: 1.2.182.0
Release: 0
-%define lname libVkLayer_utils-1_2_176_0
+%define lname libVkLayer_utils-1_2_182_0
Summary: Validation layers for Vulkan
License: Apache-2.0
Group: Development/Tools/Other
@@ -31,13 +31,14 @@ Patch1: ver.diff
Patch2: xxhash.diff
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
-BuildRequires: glslang-devel >= 11
+BuildRequires: glslang-devel >= 11.4.0
+BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.5.4.g57
BuildRequires: spirv-tools-devel >= 2020.7
BuildRequires: xxhash-devel
-BuildRequires: pkgconfig(vulkan) >= 1.2.161
+BuildRequires: pkgconfig(vulkan) >= 1.2.176
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1
@@ -73,6 +74,7 @@ This package contains support files for the VkLayer utility library.
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
%build
+%limit_build -m 2000
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
-DBUILD_LAYER_SUPPORT_FILES=ON \