Compare commits

...

3 Commits

Author SHA256 Message Date
00d092be3e glslang 15.1 2024-12-16 20:55:11 +01:00
fe753e3e5a glslang 15 2024-09-26 23:25:08 +02:00
b2956866ab glslang 14.3 (Synchronize with OBS) 2024-07-10 11:39:16 +02:00
5 changed files with 49 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14a2edbb509cb3e51a9a53e3f5e435dbf5971604b4b833e63e6076e8c0a997b5
size 3842427

BIN
15.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1 +1 @@
libglslang14
libglslang15

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Dec 15 21:51:35 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 15.1
* Add Vulkan 1.4 target and client
* Implement GLSL_NV_cooperative_matrix2
* Emit OpModfStruct instead of depracated OpModf
-------------------------------------------------------------------
Thu Sep 26 19:29:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 15
* Add setResourceSetBinding method to the API
* Add interface to get the GLSL IO mapper and resolver
* Allow compute derivative modes when the workgroup dimensions
are spec constants
* Merge ancillary libraries into main glslang library and stub
originals
* Add public setSourceFile and addSourceText methods to TShader
class
* Add types and functions for IO mapping to API
* Add function to set preprocessed code to API
* Add set/get version functions to API
-------------------------------------------------------------------
Wed Jun 26 00:22:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 14.3
* Generate vector constructions more efficiently when sizes match
* Skip identity conversions for 8-bit and 16-bit types
* Emit debug info for buffer references
* Add support for OpExtInstWithForwardRefsKHR
* Generate SPV_EXT_replicated_compisites when requested by pragma
* Add back layoutLocation to public API
-------------------------------------------------------------------
Thu May 2 22:40:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,9 +16,9 @@
#
%define lname libglslang14
%define lname libglslang15
Name: glslang
Version: 14.2.0
Version: 15.1.0
Release: 0
Summary: OpenGL and OpenGL ES shader front end and validator
License: BSD-3-Clause
@ -31,9 +31,9 @@ BuildRequires: bison
BuildRequires: cmake >= 3.14.0
BuildRequires: fdupes
BuildRequires: python3-base
BuildRequires: spirv-tools-devel >= 2024.1~rc1
BuildRequires: spirv-tools-devel >= 2024.4~rc2
%if 0%{?suse_version} && 0%{?suse_version} < 1599
BuildRequires: gcc11-c++
BuildRequires: gcc12-c++
%else
BuildRequires: c++_compiler
%endif
@ -89,10 +89,11 @@ but which some downstream packages rely on.
%build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
# ABI keeps on breaking (gh#3052 #3311 #3312 #3593)
echo "V_%version { global: *; };" >/tmp/z.sym
# (gh#3052 #3311 #3312 #3593) -- supposedly handled better in
# glslang-15 and onwards, do watch for ABI breaks
#echo "V_%version { global: *; };" >/tmp/z.sym
%if 0%{?suse_version} && 0%{?suse_version} < 1599
export CC=gcc-11 CXX=g++-11
export CC=gcc-12 CXX=g++-12
%endif
# Trim -Wl,--no-undefined for now (https://github.com/KhronosGroup/glslang/issues/1484)
%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
@ -141,11 +142,10 @@ done
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets -n %lname
%files -n %lname
%_libdir/*.so.14*
%_libdir/*.so.15*
%files devel -f devel.files
%_bindir/gls*