Accepting request 1134682 from X11:Wayland

- Update to release 14

OBS-URL: https://build.opensuse.org/request/show/1134682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=49
This commit is contained in:
Ana Guerrero 2023-12-28 21:55:00 +00:00 committed by Git OBS Bridge
commit 5f4199ec53
5 changed files with 35 additions and 10 deletions

View File

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

3
14.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80bbb916a23e94ea9cbfb1acb5d1a44a7e0c9613bcf5b5947c03f2273bdc92b0
size 3770344

View File

@ -1 +1 @@
libglslang13
libglslang14

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Dec 22 19:11:49 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 14
* The legacy libraries named HLSL and OGLCompiler have been
removed. To avoid future disruptions, please use cmake's
find_package mechanism rather than hardcoding library
dependencies.
* Only the headers that are part of glslang's public interface
are included in the install target.
* Overflow/underflow out-of-range floats to infinity/0.0
respectively
* Support SV_ViewID keywords for HLSL
* Implement relaxed rule for opaque struct members
* Fix GLSL parsing of '#' when not preceded by space or tab
* Support GL_EXT_draw_instanced & GL_EXT_texture_array extension
* Fix conversion of 64-bit unsigned integer constants to bool
* Output 8-bit and 16-bit capabilities when appropriate for
OpSpecConstant
-------------------------------------------------------------------
Sun Nov 5 07:33:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,9 +16,9 @@
#
%define lname libglslang13
%define lname libglslang14
Name: glslang
Version: 13.1.1
Version: 14.0.0
Release: 0
Summary: OpenGL and OpenGL ES shader front end and validator
License: BSD-3-Clause
@ -126,10 +126,15 @@ pushd "$b"
popd
comm -13 "$od/devel.files" "$od/devel_full.files" >"$od/devel2.files"
# 3rd party programs use -lOGLCompiler (because pristine glslang shipped .a files),
# so satisfy them under our shared build.
# 3rd party programs use -lOSDependent (because pristine glslang shipped .a
# files), so satisfy them under our shared build.
mkdir -p "$b/%_libdir"
for i in libOGLCompiler libOSDependent libGenericCodeGen libMachineIndependent; do
for i in libOSDependent libGenericCodeGen libMachineIndependent; do
ln -s libglslang.so "$b/%_libdir/$i.so"
rm -f "$b/%_libdir/$i.a"
done
# Gone with glslang 14, redirect to main file
for i in libHLSL libOGLCompiler; do
ln -s libglslang.so "$b/%_libdir/$i.so"
rm -f "$b/%_libdir/$i.a"
done
@ -140,7 +145,7 @@ done
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/*.so.13*
%_libdir/*.so.14*
%files devel -f devel.files
%_bindir/gls*