Compare commits

...

1 Commits

5 changed files with 76 additions and 16 deletions

View File

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

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
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>
- Update to release 2024.1
* Version bump only
-------------------------------------------------------------------
Sun Mar 10 10:38:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.1~rc1
* Add tooling support for SPV_KHR_maximal_reconvergence,
SPV_KHR_float_controls2, SPV_KHR_quad_control,
SPV_NV_shader_atomic_fp16_vector, SPV_QCOM_image_processing2
* Fold 64-bit int operations
* Support operand kind for SPV_INTEL_maximum_registers
-------------------------------------------------------------------
Fri Dec 22 20:14:02 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package spirv-tools
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,16 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-2023_6_rc1
%define lname libSPIRV-Tools-2024_4_rc2
Name: spirv-tools
Version: 2023.6~rc1
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/v2023.6.rc1.tar.gz
#Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-1.3.268.0.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
@@ -35,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+sdk268
BuildRequires: spirv-headers >= 1.6.4+sdk303
%description
The package includes an assembler, binary module parser,
@@ -68,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-2023.6.rc1
%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
@@ -87,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-*

BIN
v2023.6.rc1.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.