1
0
forked from pool/spirv-tools

- Update to new snapshot 2016.7~g145

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=13
This commit is contained in:
Jan Engelhardt 2017-08-07 16:37:37 +00:00 committed by Git OBS Bridge
parent 1e4c3ab280
commit cbfa777e85
7 changed files with 64 additions and 28 deletions

View File

@ -1 +1 @@
libSPIRV-Tools-suse2
libSPIRV-Tools-suse3

View File

@ -14,10 +14,10 @@ were ignored.
tools/io.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: spirv-tools-2016.7~g24/tools/io.h
Index: spirv-tools-2016.7~g135/tools/io.h
===================================================================
--- spirv-tools-2016.7~g24.orig/tools/io.h
+++ spirv-tools-2016.7~g24/tools/io.h
--- spirv-tools-2016.7~g135.orig/tools/io.h
+++ spirv-tools-2016.7~g135/tools/io.h
@@ -38,7 +38,8 @@ bool ReadFile(const char* filename, cons
return false;
}

View File

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

View File

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

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Jul 18 09:01:25 UTC 2017 - jengelh@inai.de
- Update to new snapshot 2016.7~g145
* Validation of type decls for SPV_KHR_16bit_storage
* Allow using FPRoundingMode when see VK_KHR_16bit_storage
* Validator parses and registers OpExtension
* Validator checks if operands require extension
* Validator dissallows unsupported Vulkan capability
* Update capability tests for SPV_KHR_16bit_storage rev 7
* Support SPV_AMD_gcn_shader
* Add FlattenDecoration transform
* Validator support for Variable Pointer extension.
* Support SPV_KHR_storage_buffer_storage_class
* Add SPIR-V 1.2 support, for OpenCL 2.2
* Added extension SPV_VALIDATOR_ignore_type_decl_unique
* Add support for SPV AMD extensions
* MARK-V decoder supports extended instructions
* DeadBranchElim: Improve algorithm to only remove blocks with
no predecessors
* Opt: Add new size-reduction passes to usage message.
* Add multi-sequence move-to-front implementation.
* Add MemPass, move all shared functions to it.
* Add CommonUniformElim pass.
* Mem2Reg: Allow Image and Sampler types as base target types.
-------------------------------------------------------------------
Mon Feb 20 15:48:52 UTC 2017 - jengelh@inai.de

View File

@ -16,11 +16,11 @@
#
%define version_unconverted 2016.7~g28
%define lname libSPIRV-Tools-suse2
%define version_unconverted 2016.7~g154
%define lname libSPIRV-Tools-suse3
Name: spirv-tools
Version: 2016.7~g28
Version: 2016.7~g154
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
@ -76,11 +76,6 @@ make %{?_smp_mflags}
%install
b="%buildroot"
%cmake_install
# duh..
if [ "%_lib" != lib ]; then
pushd "$b/%_prefix"
mv "lib" "%_lib"
fi
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -93,11 +88,13 @@ fi
%files -n %lname
%defattr(-,root,root)
%_libdir/libSPIRV-Tools.so.*
%_libdir/libSPIRV-Tools-comp.so.*
%_libdir/libSPIRV-Tools-opt.so.*
%files devel
%defattr(-,root,root)
%_libdir/libSPIRV-Tools.so
%_libdir/libSPIRV-Tools-comp.so
%_libdir/libSPIRV-Tools-opt.so
%_includedir/spirv-tools/

View File

@ -4,31 +4,44 @@ Date: 2016-06-13 11:46:16.846841814 +0200
Unversioned libraries suck!
---
source/CMakeLists.txt | 1 +
source/opt/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+)
source/CMakeLists.txt | 1 +
source/comp/CMakeLists.txt | 1 +
source/opt/CMakeLists.txt | 1 +
3 files changed, 3 insertions(+)
Index: spirv-tools-2016.7~g24/source/CMakeLists.txt
Index: spirv-tools-2016.7~g154/source/CMakeLists.txt
===================================================================
--- spirv-tools-2016.7~g24.orig/source/CMakeLists.txt
+++ spirv-tools-2016.7~g24/source/CMakeLists.txt
@@ -219,6 +219,7 @@ set_source_files_properties(
--- spirv-tools-2016.7~g154.orig/source/CMakeLists.txt
+++ spirv-tools-2016.7~g154/source/CMakeLists.txt
@@ -281,6 +281,7 @@ set_source_files_properties(
PROPERTIES OBJECT_DEPENDS "${SPIRV_TOOLS_BUILD_VERSION_INC}")
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse2)
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse3)
spvtools_default_compile_options(${SPIRV_TOOLS})
target_include_directories(${SPIRV_TOOLS}
PUBLIC ${spirv-tools_SOURCE_DIR}/include
Index: spirv-tools-2016.7~g24/source/opt/CMakeLists.txt
Index: spirv-tools-2016.7~g154/source/comp/CMakeLists.txt
===================================================================
--- spirv-tools-2016.7~g24.orig/source/opt/CMakeLists.txt
+++ spirv-tools-2016.7~g24/source/opt/CMakeLists.txt
@@ -53,6 +53,7 @@ add_library(SPIRV-Tools-opt
--- spirv-tools-2016.7~g154.orig/source/comp/CMakeLists.txt
+++ spirv-tools-2016.7~g154/source/comp/CMakeLists.txt
@@ -13,6 +13,7 @@
# limitations under the License.
add_library(SPIRV-Tools-comp markv_codec.cpp)
+set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse3)
spvtools_default_compile_options(SPIRV-Tools-comp)
target_include_directories(SPIRV-Tools-comp
Index: spirv-tools-2016.7~g154/source/opt/CMakeLists.txt
===================================================================
--- spirv-tools-2016.7~g154.orig/source/opt/CMakeLists.txt
+++ spirv-tools-2016.7~g154/source/opt/CMakeLists.txt
@@ -82,6 +82,7 @@ add_library(SPIRV-Tools-opt
unify_const_pass.cpp
)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse2)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse3)
spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt
PUBLIC ${spirv-tools_SOURCE_DIR}/include