1
0

- Update to release SDK-1.3.236.0

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=107
This commit is contained in:
Jan Engelhardt 2022-12-23 09:25:04 +00:00 committed by Git OBS Bridge
parent ad1f9fd19f
commit ea15dd6db6
6 changed files with 41 additions and 29 deletions

View File

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

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

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

View File

@ -4,15 +4,14 @@ 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 ++-
layers/vk_layer_config.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: Vulkan-ValidationLayers-1.3.224/CMakeLists.txt
Index: Vulkan-ValidationLayers-sdk-1.3.236.0/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers-1.3.224.orig/CMakeLists.txt
+++ Vulkan-ValidationLayers-1.3.224/CMakeLists.txt
@@ -338,11 +338,12 @@ set(SCRIPTS_DIR "${PROJECT_SOURCE_DIR}/s
--- Vulkan-ValidationLayers-sdk-1.3.236.0.orig/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.3.236.0/CMakeLists.txt
@@ -255,11 +255,12 @@ endif()
# files directly in layers.
add_library(VkLayer_utils
@ -24,5 +23,5 @@ Index: Vulkan-ValidationLayers-1.3.224/CMakeLists.txt
layers/generated/vk_format_utils.cpp)
+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 (VVL_ENABLE_ASAN)
target_compile_options(VkLayer_utils PRIVATE -fsanitize=address)

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Dec 23 08:14:13 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release SDK-1.3.236.0
* Validate acquire and release full screen exclusive
* Validate image barrier access layout combinations
* Validate creating image view with video image usage
* Validate viewportCount with extended dynamic state
* Validate EndRenderPass with transform feedback
* Validate copy image usage
* Add validation for mesh shader extension, VK_EXT_mesh_shader
and VK_EXT_descriptor_buffer
-------------------------------------------------------------------
Mon Oct 24 19:25:31 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,9 +17,9 @@
Name: vulkan-validationlayers
Version: 1.3.231.0
Version: 1.3.236.0
Release: 0
%define lname libVkLayer_utils-1_3_231_0
%define lname libVkLayer_utils-1_3_236_0
Summary: Validation layers for Vulkan
License: Apache-2.0
Group: Development/Tools/Other
@ -30,15 +30,15 @@ Patch1: ver.diff
Patch2: xxhash.diff
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 11.12
BuildRequires: glslang-devel >= 11.13
BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1+sdk231
BuildRequires: spirv-tools-devel >= 2022.4
BuildRequires: spirv-headers >= 1.6.1+sdk1.3.236.0
BuildRequires: spirv-tools-devel >= 2022.4+sdk1.3.236.0
BuildRequires: vulkan-headers
BuildRequires: xxhash-devel
BuildRequires: pkgconfig(vulkan) >= 1.3.231
BuildRequires: pkgconfig(vulkan) >= 1.3.236
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1

View File

@ -10,11 +10,11 @@ xxhash as well, so that the ABI matches.
layers/CMakeLists.txt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt
Index: Vulkan-ValidationLayers-sdk-1.3.236.0/layers/CMakeLists.txt
===================================================================
--- Vulkan-ValidationLayers-sdk-1.3.231.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt
@@ -66,8 +66,6 @@ if(BUILD_LAYER_SUPPORT_FILES)
--- Vulkan-ValidationLayers-sdk-1.3.236.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-sdk-1.3.236.0/layers/CMakeLists.txt
@@ -45,8 +45,6 @@ if(BUILD_LAYER_SUPPORT_FILES)
vk_layer_logging.h
vk_layer_utils.h
vk_layer_utils.cpp
@ -23,7 +23,7 @@ Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt
generated/vk_format_utils.h
generated/vk_format_utils.cpp
generated/vk_validation_error_messages.h
@@ -210,8 +208,7 @@ set(CORE_VALIDATION_LIBRARY_FILES
@@ -149,8 +147,7 @@ set(CORE_VALIDATION_LIBRARY_FILES
generated/synchronization_validation_types.cpp
gpu_validation.cpp
generated/corechecks_optick_instrumentation.cpp
@ -33,11 +33,11 @@ Index: Vulkan-ValidationLayers-sdk-1.3.231.0/layers/CMakeLists.txt
set(OBJECT_LIFETIMES_LIBRARY_FILES
generated/object_tracker.cpp
@@ -316,6 +313,7 @@ if(BUILD_LAYERS)
endif()
target_include_directories(VkLayer_khronos_validation PRIVATE ${SPIRV_HEADERS_INCLUDE_DIR})
target_link_libraries(VkLayer_khronos_validation PRIVATE ${SPIRV_TOOLS_TARGET} SPIRV-Tools-opt)
+ target_link_libraries(VkLayer_khronos_validation PRIVATE -lxxhash)
@@ -279,6 +276,7 @@ endif()
target_link_libraries(VkLayer_khronos_validation PRIVATE
${SPIRV_TOOLS_TARGET}
SPIRV-Tools-opt
+ -lxxhash
SPIRV-Headers::SPIRV-Headers
)
# The output file needs Unix "/" separators or Windows "\" separators On top of that, Windows separators actually need to be doubled