forked from pool/glslang
Compare commits
68 Commits
Author | SHA256 | Date | |
---|---|---|---|
1944664c3c | |||
|
91a0408ab0 | ||
476a5fa749 | |||
|
5ba84cc347 | ||
|
6e2867c6b5 | ||
be001628d1 | |||
|
e0118eb5d4 | ||
|
d0725e2afb | ||
4ef5963daa | |||
|
7619d8a226 | ||
3eff9cfff7 | |||
|
7856d2ff9a | ||
|
aca2617ccb | ||
|
7b8cb70716 | ||
174b9017a7 | |||
|
77ed6bc04f | ||
|
5c8dfc6cce | ||
c2bdd87c26 | |||
76d97a8a4d | |||
d67431bbc0 | |||
5f4199ec53 | |||
51d92ebc40 | |||
33a3947586 | |||
ce88364f53 | |||
e3cb4eff36 | |||
62b63ae90d | |||
a0be5434c3 | |||
245ab4461d | |||
1bce7ca4c5 | |||
b523e33a2b | |||
c0548c3921 | |||
8af297789c | |||
2a09d06098 | |||
cfd0e77528 | |||
d300bfd597 | |||
58e835d95d | |||
0882fa6de1 | |||
a2ddfaa445 | |||
cdcfc83c95 | |||
1d03c6b9a3 | |||
0473163bca | |||
c64fd0a3ea | |||
6ef206469b | |||
4c952615c8 | |||
0f09a863b9 | |||
3fe61629cf | |||
29724c1822 | |||
798e4b0fd4 | |||
0d311901ca | |||
a3602a6910 | |||
136eda2186 | |||
7f85b46a8e | |||
85f8da0430 | |||
18a50b6700 | |||
ceadf2567c | |||
0baf31107c | |||
8ef6991c3f | |||
|
c09bbd9fd4 | ||
dd1652d90d | |||
c5a8c8cbfa | |||
8481424dff | |||
b8a8f669f3 | |||
fcb8ad0a76 | |||
5379356204 | |||
3fca2783f7 | |||
45462088e4 | |||
4f0c11ffac | |||
2e8fba92bd |
BIN
14.3.0.tar.gz
(Stored with Git LFS)
BIN
14.3.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
15.4.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
15.4.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
mtime: 1720604356
|
mtime: 1751100180
|
||||||
commit: b2956866ab6dba106a71b552f99eb95238d9d897bd212f81c8c5f7cdd9add3c3
|
commit: b46ca6d71f2702a2b0803ab4d133a69818a7f0ee3f492c491bf00bbcf33f7a9d
|
||||||
url: https://src.opensuse.org/jengelh/glslang
|
url: https://src.opensuse.org/jengelh/glslang
|
||||||
revision: master
|
revision: master
|
||||||
|
@@ -1 +1 @@
|
|||||||
libglslang14
|
libglslang15
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:8753fd84f48cabbca5d8ec1cc13835d38a394c394a9caacbc583a4af8fa58456
|
oid sha256:796a96fc40e77a0d8ee61855d397de17bf4f408dedafcecec717ea91c067ca27
|
||||||
size 256
|
size 256
|
||||||
|
@@ -1,3 +1,71 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Fix building vsgXChange and other packages by adding the
|
||||||
|
missing runtime dependency to the development package
|
||||||
|
for SPIRV-Tools-opt
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Wed Jun 26 00:22:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
49
glslang.spec
49
glslang.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package glslang
|
# 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
|
# 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
|
||||||
@@ -16,27 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define lname libglslang14
|
%define lname libglslang15
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
%define gcc_version 13
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: glslang
|
Name: glslang
|
||||||
Version: 14.3.0
|
Version: 15.4.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/refs/tags/%version.tar.gz
|
Source: https://github.com/KhronosGroup/glslang/archive/%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 >= 2024.3
|
BuildRequires: spirv-tools-devel >= 2025.3~rc1
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1599
|
|
||||||
BuildRequires: gcc11-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
|
||||||
@@ -55,6 +56,7 @@ specifications for these languages.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: cmake(SPIRV-Tools-opt)
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@@ -85,17 +87,17 @@ 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 -p1
|
%autosetup -n glslang-%version -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
||||||
# ABI keeps on breaking (gh#3052 #3311 #3312 #3593)
|
# (gh#3052 #3311 #3312 #3593) -- supposedly handled better in
|
||||||
echo "V_%version { global: *; };" >/tmp/z.sym
|
# glslang-15 and onwards, do watch for ABI breaks
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1599
|
#echo "V_%version { global: *; };" >/tmp/z.sym
|
||||||
export CC=gcc-11 CXX=g++-11
|
|
||||||
%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
|
||||||
|
|
||||||
@@ -105,25 +107,25 @@ od="$PWD"
|
|||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
pushd "$b"
|
cd "$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"
|
||||||
popd
|
cd -
|
||||||
|
|
||||||
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" -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 "{}" "+"
|
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 -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"
|
||||||
popd
|
cd -
|
||||||
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
|
||||||
@@ -141,11 +143,10 @@ done
|
|||||||
|
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%_libdir/*.so.14*
|
%_libdir/*.so.15*
|
||||||
|
|
||||||
%files devel -f devel.files
|
%files devel -f devel.files
|
||||||
%_bindir/gls*
|
%_bindir/gls*
|
||||||
|
Reference in New Issue
Block a user