8 Commits

Author SHA256 Message Date
1944664c3c Accepting request 1288939 from X11:Wayland
- Update to release 15.4

OBS-URL: https://build.opensuse.org/request/show/1288939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=58
2025-07-01 09:33:29 +00:00
OBS User unknown
91a0408ab0 [info=b46ca6d71f2702a2b0803ab4d133a69818a7f0ee3f492c491bf00bbcf33f7a9d]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=151
2025-06-28 08:43:15 +00:00
476a5fa749 Accepting request 1272807 from X11:Wayland
- Update to release 15.3

OBS-URL: https://build.opensuse.org/request/show/1272807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=57
2025-04-28 14:16:01 +00:00
OBS User unknown
5ba84cc347 [info=107397e3466cdba5325d67f55825c33fe746fdcb7a7d0c9715432582a752de57]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=150
2025-04-26 00:09:10 +00:00
OBS User unknown
6e2867c6b5 [info=6c3a7fbfcbaeb6485b113a2b9b36c28eb9a2a5764584643a88ed15a9a2f12565]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=149
2025-04-26 00:00:47 +00:00
be001628d1 Accepting request 1252820 from X11:Wayland
- Update to release 15.2

OBS-URL: https://build.opensuse.org/request/show/1252820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=56
2025-03-15 15:15:19 +00:00
OBS User unknown
e0118eb5d4 [info=07fdb3f98178270c28b0f4bd30fa88ad8e3f279e9f3b980476b875bcbfd3ebf6]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=148
2025-03-13 17:00:11 +00:00
OBS User unknown
d0725e2afb [info=39d3cc2c3d5dcbef51d9a1b02efc73308679fa6b9ce4e9b2434ca409cec09183]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=147
2025-03-13 16:50:39 +00:00
6 changed files with 61 additions and 24 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,4 +1,4 @@
mtime: 1735808627
commit: e310b3d9d4e725681112f622f1a812f46473cd52eb90b98061fb72c294474474
mtime: 1751100180
commit: b46ca6d71f2702a2b0803ab4d133a69818a7f0ee3f492c491bf00bbcf33f7a9d
url: https://src.opensuse.org/jengelh/glslang
revision: master

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca34fcfd53c8c5d79b86cd7332d5ff5c0f623f813eb02d46f62aaa7a12495dab
oid sha256:796a96fc40e77a0d8ee61855d397de17bf4f408dedafcecec717ea91c067ca27
size 256

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Fri Jun 27 15:47:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 15.4
* Implement GL_NV_gpu_shader5 and enable GL_ARB_gpu_shader5
completely
* Add the GLSL_QCOM_tile_shading support
* Implement GL_EXT_float8_e5m2_e4m3 (bits for exponent/mantissa)
* Add variadic function support for builtin functions
* Add argument default values support for builtin functions
* Add GL_ARM_tensors
-------------------------------------------------------------------
Fri Apr 25 22:16:04 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 15.3
* Fix crash calling coopMatLoadTensorNV on an array element
* Implement GL_EXT_bfloat16
* Add missing error checks for bfloat16 math
-------------------------------------------------------------------
Thu Mar 13 16:47:27 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 15.2
* Emit error if using in/out with struct pointer
* Emit SPV_EXT_opacity_micromap if GL extension is present
* Support GL_NV_linear_swept_spheres, GLSL_EXT_nontemporal_keyword,
GL_NV_cluster_acceleration_structure, GL_NV_cooperative_vector,
GL_EXT_texture_offset_non_const, EXT_integer_dot_product
* Check SparseTextureOffset non-const parameters
* Revert cross-stage check for missing outputs
* Add support for OpTypeRayQueryKHR and
OpTypeAccelerationStructureKHR to SPVRemapper
- Make build recipe POSIX sh compatible
- Switch Leap compiler to gcc 13 following the rest of the
Vulkan stack
-------------------------------------------------------------------
Thu Jan 2 08:54:06 UTC 2025 - Ralf Habacker <ralf.habacker@freenet.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package glslang
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,27 @@
%define lname libglslang15
%if 0%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: glslang
Version: 15.1.0
Version: 15.4.0
Release: 0
Summary: OpenGL and OpenGL ES shader front end and validator
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
#Git-URL: https://github.com/KhronosGroup/glslang
Source: https://github.com/KhronosGroup/glslang/archive/refs/tags/%version.tar.gz
Source: https://github.com/KhronosGroup/glslang/archive/%version.tar.gz
Source3: baselibs.conf
BuildRequires: bison
BuildRequires: cmake >= 3.14.0
BuildRequires: fdupes
BuildRequires: gcc%{?gcc_version} >= 13
BuildRequires: gcc%{?gcc_version}-c++ >= 13
BuildRequires: python3-base
BuildRequires: spirv-tools-devel >= 2024.4~rc2
%if 0%{?suse_version} && 0%{?suse_version} < 1599
BuildRequires: gcc12-c++
%else
BuildRequires: c++_compiler
%endif
BuildRequires: spirv-tools-devel >= 2025.3~rc1
%description
glslang is a compiler front end for the OpenGL ES and OpenGL shading
@@ -86,18 +87,17 @@ This package contains additional headers that are not officially installed,
but which some downstream packages rely on.
%prep
%autosetup -p1
%autosetup -n glslang-%version -p1
%build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
# (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-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" \
-DCMAKE_C_COMPILER="gcc%{?gcc_version:-%{gcc_version}}" \
-DCMAKE_CXX_COMPILER="g++%{?gcc_version:-%{gcc_version}}" \
-DALLOW_EXTERNAL_SPIRV_TOOLS:BOOL=ON -DENABLE_OPT:BOOL=ON
%make_build
@@ -107,25 +107,25 @@ od="$PWD"
%cmake_install
b="%buildroot"
pushd "$b"
cd "$b"
(
find usr/include -mindepth 1 -type d -printf "%%%%dir /%p\n"
find usr/include "(" -type f -o -type l ")" -printf "/%p\n"
) | sort >"$od/devel.files"
popd
cd -
mkdir -p "$b/%_includedir/External/"
cp -a glslang "$b/%_includedir/"
cp -a SPIRV StandAlone "$b/%_includedir/External/"
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete
find "$b/%_includedir/" -type f ! -iname "*.h" ! -iname "*.hpp" ! -iname '*.hpp11' -print -delete
find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
pushd "$b"
cd "$b"
(
find usr/include -mindepth 1 -type d -printf "%%%%dir /%p\n"
find usr/include "(" -type f -o -type l ")" -printf "/%p\n"
) | sort >"$od/devel_full.files"
popd
cd -
comm -13 "$od/devel.files" "$od/devel_full.files" >"$od/devel2.files"
# 3rd party programs use -lOSDependent (because pristine glslang shipped .a