- Update to new upstream release 2019.2

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=33
This commit is contained in:
Jan Engelhardt 2019-02-20 20:29:59 +00:00 committed by Git OBS Bridge
parent 44b9df5781
commit 2f89953b8f
7 changed files with 38 additions and 17 deletions

View File

@ -3,9 +3,9 @@
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param>
<param name="filename">spirv-tools</param>
<param name="revision">v2019.1</param>
<param name="parent-tag">v2019.1</param>
<param name="versionformat">2019.1</param>
<param name="revision">61dfd8492b6e324f684863ecbd79c299a06e6517</param>
<param name="parent-tag">61dfd8492b6e324f684863ecbd79c299a06e6517</param>
<param name="versionformat">2019.2</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,4 +1,4 @@
libSPIRV-Tools-suse9
libSPIRV-Tools-suse10
spirv-tools-devel
requires -spirv-tools-<targettype>
requires "libSPIRV-Tools-suse9-<targettype> = <version>"
requires "libSPIRV-Tools-suse10-<targettype> = <version>"

View File

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

View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Feb 20 20:06:31 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 2019.2
* General:
* Support SPV_EXT_physical_storage_buffer
* Optimizer:
* Upgrade memory model improvments for modf and frexp.
* Add a new pass to move loads closer to their uses: code sinking.
* Invalidating the type manager now invalidates the constant
manager.
* Expand instrumentation pass for bindless bounds checking to
runtime-sized descriptor arrays.
* Add a new dead struct member elimination pass
* Validator:
* Support SPV_KHR_no_integer_wrap and related decorations.
* Validate Vulkan rules for OpTypeRuntimeArray.
* Validate NonWritable decoration.
* Many WebGPU specific validation rules were added.
* Validate variable pointer related function call rules.
-------------------------------------------------------------------
Mon Jan 7 21:33:03 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,11 +16,11 @@
#
%define version_unconverted 2019.1
%define lname libSPIRV-Tools-suse9
%define version_unconverted 2019.2
%define lname libSPIRV-Tools-suse10
Name: spirv-tools
Version: 2019.1
Version: 2019.2
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0

View File

@ -19,7 +19,7 @@ Index: spirv-tools-2019.1/source/CMakeLists.txt
spvtools_pch(SPIRV_SOURCES pch_source)
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse9)
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse10)
spvtools_default_compile_options(${SPIRV_TOOLS})
target_include_directories(${SPIRV_TOOLS}
PUBLIC ${spirv-tools_SOURCE_DIR}/include
@ -27,7 +27,7 @@ Index: spirv-tools-2019.1/source/CMakeLists.txt
add_dependencies( ${SPIRV_TOOLS} core_tables enum_string_mapping extinst_tables )
add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse9)
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse10)
spvtools_default_compile_options(${SPIRV_TOOLS}-shared)
target_include_directories(${SPIRV_TOOLS}-shared
PUBLIC ${spirv-tools_SOURCE_DIR}/include
@ -39,7 +39,7 @@ Index: spirv-tools-2019.1/source/comp/CMakeLists.txt
move_to_front.h
move_to_front.cpp)
+ set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse9)
+ set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse10)
spvtools_default_compile_options(SPIRV-Tools-comp)
target_include_directories(SPIRV-Tools-comp
PUBLIC ${spirv-tools_SOURCE_DIR}/include
@ -51,7 +51,7 @@ Index: spirv-tools-2019.1/source/link/CMakeLists.txt
add_library(SPIRV-Tools-link
linker.cpp
)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse9)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse10)
spvtools_default_compile_options(SPIRV-Tools-link)
target_include_directories(SPIRV-Tools-link
@ -63,7 +63,7 @@ Index: spirv-tools-2019.1/source/opt/CMakeLists.txt
add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_OPT_SOURCES})
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse9)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse10)
spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt
PUBLIC ${spirv-tools_SOURCE_DIR}/include
@ -75,7 +75,7 @@ Index: spirv-tools-2019.1/source/reduce/CMakeLists.txt
PUBLIC ${SPIRV_HEADER_INCLUDE_DIR}
PRIVATE ${spirv-tools_BINARY_DIR}
)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse9)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse10)
# The reducer reuses a lot of functionality from the SPIRV-Tools library.
target_link_libraries(SPIRV-Tools-reduce
PUBLIC ${SPIRV_TOOLS}