SHA256
1
0
forked from pool/glslang

12 Commits

Author SHA256 Message Date
4ef5963daa Accepting request 1234527 from X11:Wayland
- Fix building vsgXChange and other packages by adding the
  missing runtime dependency to the development package
  for SPIRV-Tools-opt

OBS-URL: https://build.opensuse.org/request/show/1234527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=55
2025-01-06 15:04:49 +00:00
OBS User unknown
7619d8a226 [info=e310b3d9d4e725681112f622f1a812f46473cd52eb90b98061fb72c294474474]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=146
2025-01-02 09:50:57 +00:00
3eff9cfff7 Accepting request 1231576 from X11:Wayland
- Update to release 15.1

OBS-URL: https://build.opensuse.org/request/show/1231576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=54
2024-12-18 19:08:40 +00:00
OBS User unknown
7856d2ff9a [info=00d092be3e4a07aa8ded4e33004ad55e30ba4c2e6ea165be3626c97b0fbe6d08]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=145
2024-12-16 19:55:19 +00:00
OBS User unknown
aca2617ccb [info=63b46658af7a493275089888307f7ef2300d11ee219e62efac6a1f9ccc0c8535]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=144
2024-12-16 19:53:23 +00:00
OBS User unknown
7b8cb70716 [info=f9ad850053830d6d768a7068a2adcbae06a8988f0f1c05db573fb0676aec67b0]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=143
2024-12-15 21:52:23 +00:00
174b9017a7 Accepting request 1203991 from X11:Wayland
- Update to release 15

OBS-URL: https://build.opensuse.org/request/show/1203991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=53
2024-09-29 16:09:13 +00:00
OBS User unknown
77ed6bc04f [info=fe753e3e5ad067e4e77e4fb762f8e8a53adc1f5279d5b87e8432249de8b299f7]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=142
2024-09-26 21:25:21 +00:00
OBS User unknown
5c8dfc6cce [info=cd0928479569823d887a6acd0eef00e409991ab2d511924978ee3010459ea872]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=141
2024-09-26 19:59:42 +00:00
c2bdd87c26 Accepting request 1189188 from X11:Wayland
- Update to release 14.3

OBS-URL: https://build.opensuse.org/request/show/1189188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=52
2024-07-24 13:29:31 +00:00
1b09b78e43 [info=b2956866ab6dba106a71b552f99eb95238d9d897bd212f81c8c5f7cdd9add3c3]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=140
2024-07-10 09:40:10 +00:00
d7fd76c0da - Update to release 14.3
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=139
2024-06-26 00:50:32 +00:00
6 changed files with 28 additions and 58 deletions

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

Binary file not shown.

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

Binary file not shown.

4
_scmsync.obsinfo Normal file
View File

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

3
build.specials.obscpio Normal file
View File

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

View File

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