Compare commits

...

3 Commits

Author SHA256 Message Date
aae3b7f43c spirv-tools 2024.4~rc2 2024-12-16 21:04:08 +01:00
b5d4e85baa spirv-tools 2024.4~rc1 2024-10-08 22:00:15 +02:00
3177890571 Synchronize with OBS 2024-07-03 09:17:42 +02:00
5 changed files with 59 additions and 14 deletions

View File

@ -1,4 +1,4 @@
libSPIRV-Tools-2024_1
libSPIRV-Tools-2024_4_rc2
spirv-tools-devel
requires -spirv-tools-<targettype>
requires "libSPIRV-Tools-2024_1-<targettype> = <version>"
requires "libSPIRV-Tools-2024_4_rc2-<targettype> = <version>"

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Sun Dec 15 18:56:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.4~rc2
* General:
* Add FPEncoding operand type. (#5726)
* Support SPV_KHR_untyped_pointers, SPV_INTEL_global_variable_host_access,
SPV_KHR_compute_shader_derivative
* Vulkan 1.4 support (#5899)
* Optimizer: Add knowledge of cooperative matrice
- Delete 0001-SPV_KHR_untyped_pointers-Fix-verification-for-OpenCL.patch
(merged)
-------------------------------------------------------------------
Tue Oct 8 16:12:56 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.4~rc1
* Add knowledge of cooperative matrices
* Add FPEncoding operand type
* Allow for empty list of enums for an operand
* Support SPV_KHR_untyped_pointers
* properly handle the load and store cache control operand types
* spirv-link: allow linking functions with different pointer arguments
* Allow ArrayStride on untyped pointers
* [OPT] Add SPV_KHR_ray_tracing_position_fetch to allow lists
* Validate presence of Stride operand to OpCooperativeMatrix{Load,Store}KHR
* [SPV_KHR_untyped_pointers] Fix verification of vload/vstore OpenCL.std instructions
* spirv-opt: make traversal deterministic
* add support for SPV_INTEL_global_variable_host_access
- Add 0001-SPV_KHR_untyped_pointers-Fix-verification-for-OpenCL.patch
for shaderc.
-------------------------------------------------------------------
Tue Jun 25 20:47:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.3
* Optimizer:
* Do not fold MUL and ADDs to generate FMAs
* Add AliasedPointer decoration
* Add support for vulkan-shader-profiler external passes
* Validator:
* Add support for OpExtInstWithForwardRefs
* Disassembler:
* Add decorations to comments
* Add --nested-indent and --reorder-blocks
-------------------------------------------------------------------
Fri Apr 12 18:57:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,16 +17,16 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-2024_1
%define lname libSPIRV-Tools-2024_4_rc2
Name: spirv-tools
Version: 2024.1
Version: 2024.4~rc2
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/SPIRV-Tools
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2024.1.tar.gz
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2024.4.rc2.tar.gz
Source9: baselibs.conf
Patch1: ver.diff
BuildRequires: bison
@ -34,12 +34,12 @@ BuildRequires: cmake >= 3.17.2
%if 0%{?suse_version} >= 1599
BuildRequires: gcc-c++
%else
BuildRequires: gcc11-c++
BuildRequires: gcc12-c++
%endif
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.6.1+sdk275+git19
BuildRequires: spirv-headers >= 1.6.4+sdk303
%description
The package includes an assembler, binary module parser,
@ -67,13 +67,13 @@ validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.
%prep
%autosetup -p1 -n SPIRV-Tools-2024.1
%autosetup -p1 -n SPIRV-Tools-2024.4.rc2
find . -type f -name CMakeLists.txt -exec \
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt {} +
%build
%if 0%{?suse_version} && 0%{?suse_version} < 1599
export CXX=g++-11
export CXX=g++-12
%endif
%cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \
-DSPIRV_TOOLS_BUILD_STATIC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
@ -86,8 +86,7 @@ for i in "" "-diff" "-link" "-lint" "-opt" "-reduce" "-shared"; do
ln -s "libSPIRV-Tools$i-%version.so" "%buildroot/%_libdir/libSPIRV-Tools$i.so"
done
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets -n %lname
%files
%_bindir/spirv-*

View File

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

BIN
v2024.4.rc2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.