1
0
forked from pool/spirv-tools

Accepting request 685791 from X11:Wayland

- Update to new snapshot 2019.2.git25

OBS-URL: https://build.opensuse.org/request/show/685791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2019-03-27 15:10:46 +00:00 committed by Git OBS Bridge
commit 89cd4e2361
7 changed files with 51 additions and 18 deletions

View File

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

View File

@ -1,4 +1,4 @@
libSPIRV-Tools-suse9 libSPIRV-Tools-suse11
spirv-tools-devel spirv-tools-devel
requires -spirv-tools-<targettype> requires -spirv-tools-<targettype>
requires "libSPIRV-Tools-suse9-<targettype> = <version>" requires "libSPIRV-Tools-suse11-<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:65cb75a277b913596e9bdafccb90b177e8a5836265b524ff47170190c62d588a
size 1057564

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sun Mar 17 13:25:59 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new snapshot 2019.2.git25 (2ac348b5) to be in line
with current spirv-headers.
* Add --strip-atomic-counter-memory
* Add validation of storage classes for WebGPU
* Add validation for ExecutionMode in WebGPU
* Implement WebGPU specific CFG validation
* Allow NonWritable to target struct members
* Add validation for SPV_NV_cooperative_matrix
-------------------------------------------------------------------
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> 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 version_unconverted 2019.2.git25
%define lname libSPIRV-Tools-suse9 %define lname libSPIRV-Tools-suse11
Name: spirv-tools Name: spirv-tools
Version: 2019.1 Version: 2019.2.git25
Release: 0 Release: 0
Summary: API and commands for processing SPIR-V modules Summary: API and commands for processing SPIR-V modules
License: Apache-2.0 License: Apache-2.0
@ -38,7 +38,7 @@ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python3-base BuildRequires: python3-base
BuildRequires: python3-xml BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.3.g60 BuildRequires: spirv-headers >= 1.3.7
%description %description
The package includes an assembler, binary module parser, The package includes an assembler, binary module parser,

View File

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