From 4f705834b53a7bf681a67a4af008f1192610c05ecca24dd3eabeb606f9a532e0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 11 Nov 2021 20:08:23 +0000 Subject: [PATCH] - Update to release 2021.4 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=75 --- baselibs.conf | 4 ++-- spirv-tools.changes | 9 +++++++++ spirv-tools.spec | 6 +++--- v2021.3.tar.gz | 3 --- v2021.4.tar.gz | 3 +++ ver.diff | 16 ++++++++-------- 6 files changed, 25 insertions(+), 16 deletions(-) delete mode 100644 v2021.3.tar.gz create mode 100644 v2021.4.tar.gz diff --git a/baselibs.conf b/baselibs.conf index c3f857d..5447471 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ -libSPIRV-Tools-suse22 +libSPIRV-Tools-suse23 spirv-tools-devel requires -spirv-tools- - requires "libSPIRV-Tools-suse22- = " + requires "libSPIRV-Tools-suse23- = " diff --git a/spirv-tools.changes b/spirv-tools.changes index da42a80..3db6e57 100644 --- a/spirv-tools.changes +++ b/spirv-tools.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Nov 11 19:40:52 UTC 2021 - Jan Engelhardt + +- Update to release 2021.4 + * Improve decoration validation + * Add spirv-opt pass to replace descriptor accesses based on + variable indices + * Do not fold snegate feeding sdiv + ------------------------------------------------------------------- Mon Sep 6 05:13:36 UTC 2021 - Jan Engelhardt diff --git a/spirv-tools.spec b/spirv-tools.spec index 75dd2d5..3c7d403 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -17,10 +17,10 @@ %define _lto_cflags %nil -%define lname libSPIRV-Tools-suse22 +%define lname libSPIRV-Tools-suse23 Name: spirv-tools -Version: 2021.3 +Version: 2021.4 Release: 0 Summary: API and commands for processing SPIR-V modules License: Apache-2.0 @@ -37,7 +37,7 @@ BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: python3-base BuildRequires: python3-xml -BuildRequires: spirv-headers >= 1.5.4.g106 +BuildRequires: spirv-headers >= 1.5.5.g9 %description The package includes an assembler, binary module parser, diff --git a/v2021.3.tar.gz b/v2021.3.tar.gz deleted file mode 100644 index d7934e6..0000000 --- a/v2021.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6b4194121ee8084c62b20f8d574c32f766e4e9237dfe60b0658b316d19c6b13 -size 2847869 diff --git a/v2021.4.tar.gz b/v2021.4.tar.gz new file mode 100644 index 0000000..c3f3cae --- /dev/null +++ b/v2021.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d68de260708dda785d109ff1ceeecde2d2ab71142fa5bf59061bb9f47dd3bb2c +size 2887505 diff --git a/ver.diff b/ver.diff index b783ebb..9964e26 100644 --- a/ver.diff +++ b/ver.diff @@ -20,7 +20,7 @@ Index: SPIRV-Tools-2021.3/source/CMakeLists.txt add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES}) spirv_tools_default_target_options(${SPIRV_TOOLS}-shared) set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES CXX_VISIBILITY_PRESET hidden) -+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse22) ++set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse23) target_compile_definitions(${SPIRV_TOOLS}-shared PRIVATE SPIRV_TOOLS_IMPLEMENTATION PUBLIC SPIRV_TOOLS_SHAREDLIB @@ -28,7 +28,7 @@ Index: SPIRV-Tools-2021.3/source/CMakeLists.txt spirv_tools_default_target_options(${SPIRV_TOOLS}-static) # The static target does not have the '-static' suffix. set_target_properties(${SPIRV_TOOLS}-static PROPERTIES OUTPUT_NAME "${SPIRV_TOOLS}") -+ set_target_properties(${SPIRV_TOOLS}-static PROPERTIES SOVERSION suse22) ++ set_target_properties(${SPIRV_TOOLS}-static PROPERTIES SOVERSION suse23) # Create the "${SPIRV_TOOLS}" target as an alias to either "${SPIRV_TOOLS}-static" # or "${SPIRV_TOOLS}-shared" depending on the value of BUILD_SHARED_LIBS. @@ -36,7 +36,7 @@ Index: SPIRV-Tools-2021.3/source/CMakeLists.txt set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS}-static ${SPIRV_TOOLS}-shared) else() add_library(${SPIRV_TOOLS} ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_SOURCES}) -+ set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse22) ++ set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse23) spirv_tools_default_target_options(${SPIRV_TOOLS}) set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS} ${SPIRV_TOOLS}-shared) endif() @@ -48,7 +48,7 @@ Index: SPIRV-Tools-2021.3/source/fuzz/CMakeLists.txt spvtools_pch(SPIRV_TOOLS_FUZZ_SOURCES pch_source_fuzz) add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES}) -+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse22) ++ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse23) spvtools_default_compile_options(SPIRV-Tools-fuzz) @@ -60,7 +60,7 @@ Index: SPIRV-Tools-2021.3/source/link/CMakeLists.txt add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE} linker.cpp ) -+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse22) ++set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse23) spvtools_default_compile_options(SPIRV-Tools-link) target_include_directories(SPIRV-Tools-link @@ -72,7 +72,7 @@ Index: SPIRV-Tools-2021.3/source/lint/CMakeLists.txt add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES}) -+set_target_properties(SPIRV-Tools-lint PROPERTIES SOVERSION suse22) ++set_target_properties(SPIRV-Tools-lint PROPERTIES SOVERSION suse23) spvtools_default_compile_options(SPIRV-Tools-lint) target_include_directories(SPIRV-Tools-lint PUBLIC @@ -84,7 +84,7 @@ Index: SPIRV-Tools-2021.3/source/opt/CMakeLists.txt add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES}) -+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse22) ++set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse23) spvtools_default_compile_options(SPIRV-Tools-opt) target_include_directories(SPIRV-Tools-opt PUBLIC @@ -96,7 +96,7 @@ Index: SPIRV-Tools-2021.3/source/reduce/CMakeLists.txt $ PRIVATE ${spirv-tools_BINARY_DIR} ) -+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse22) ++set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse23) # The reducer reuses a lot of functionality from the SPIRV-Tools library. target_link_libraries(SPIRV-Tools-reduce PUBLIC ${SPIRV_TOOLS_FULL_VISIBILITY}