Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 69918c12cb | |||
| 89e73c17e6 | |||
| cc3d03d870 | |||
| b46ca6d71f | |||
| 107397e346 | |||
| 07fdb3f981 | |||
| e310b3d9d4 | |||
| 00d092be3e | |||
| fe753e3e5a | |||
| b2956866ab |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14a2edbb509cb3e51a9a53e3f5e435dbf5971604b4b833e63e6076e8c0a997b5
|
||||
size 3842427
|
||||
BIN
16.2.0.tar.gz
LFS
Normal file
BIN
16.2.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
libglslang14
|
||||
libglslang16
|
||||
|
||||
129
glslang.changes
129
glslang.changes
@@ -1,3 +1,132 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 23 22:56:20 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 16.2.0
|
||||
* Allow gl_FragDepth identifier to be redeclared
|
||||
* Replace `GL_TASK(MESH)_SHADER_NV` with
|
||||
`GL_TASK(MESH)_SHADER_EXT`
|
||||
* Scalarize swizzled MeshEXT stores
|
||||
* Support GL_EXT_long_vector
|
||||
* Add missing preamble #define for GL_EXT_nontemporal_keyword
|
||||
* Support GL_NV_push_constant_bank
|
||||
* Support GL_EXT_descriptor_heap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 2 18:33:14 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 16.1.0
|
||||
* Avoid emitting OpCapability RuntimeDescriptorArray when
|
||||
unnecessary
|
||||
* Improve compilation speed when debug infomation is enabled
|
||||
* Support GL_EXT_shader_invocation_reorder
|
||||
* Add checks to coopMatMulAdd
|
||||
* Implement stringify operator
|
||||
* Add ES support for depth layout qualifier
|
||||
* Add debug info for hitObjectNV
|
||||
* Emit a DebugGlobalVariable instead of DebugLocalVariable for
|
||||
rayQueryEXT
|
||||
* Add debug info for constant variable
|
||||
* Improve debug line to point declaration
|
||||
* Fix bugs in buffer reference alignment
|
||||
* Reject string operands in binary and select ops
|
||||
* Support GL_EXT_shader_64bit_indexing
|
||||
* Support GLSL_EXT_uniform_buffer_unsized_array
|
||||
* Add semantic check for cooperative vector loads/stores
|
||||
* Improve the debug info name of opaque (sampler) types
|
||||
* Support IO mapping of combined samplers and acceleration
|
||||
structures
|
||||
* Fix bug in debug info for bool types inside SSBO/UBO
|
||||
* Fix bug in debug info for struct member names
|
||||
* Add methods for entry point and invert-y to C interface
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 00:09:27 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 16
|
||||
* Remove spirv-remapper (ported to SPIRV-Tools as
|
||||
canonicalize-ids optimization pass)
|
||||
* Emit error for in/out structs containing booleans
|
||||
* Support GLSL_QCOM_cooperative_matrix_conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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>
|
||||
|
||||
|
||||
51
glslang.spec
51
glslang.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package glslang
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,27 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libglslang14
|
||||
%define lname libglslang16
|
||||
%if 0%{?suse_version} < 1600
|
||||
%define gcc_version 13
|
||||
%endif
|
||||
|
||||
Name: glslang
|
||||
Version: 14.2.0
|
||||
Version: 16.2.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.1~rc1
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1599
|
||||
BuildRequires: gcc11-c++
|
||||
%else
|
||||
BuildRequires: c++_compiler
|
||||
%endif
|
||||
BuildRequires: spirv-tools-devel >= 2025.4~rc1
|
||||
|
||||
%description
|
||||
glslang is a compiler front end for the OpenGL ES and OpenGL shading
|
||||
@@ -56,6 +57,7 @@ specifications for these languages.
|
||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Requires: cmake(SPIRV-Tools-opt)
|
||||
|
||||
%description devel
|
||||
glslang is a compiler front end for the OpenGL ES and OpenGL shading
|
||||
@@ -85,17 +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
|
||||
# ABI keeps on breaking (gh#3052 #3311 #3312 #3593)
|
||||
echo "V_%version { global: *; };" >/tmp/z.sym
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1599
|
||||
export CC=gcc-11 CXX=g++-11
|
||||
%endif
|
||||
# (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
|
||||
# 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
|
||||
|
||||
@@ -105,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
|
||||
@@ -141,15 +143,13 @@ 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.16*
|
||||
|
||||
%files devel -f devel.files
|
||||
%_bindir/gls*
|
||||
%_bindir/spirv*
|
||||
%_libdir/cmake/
|
||||
%_libdir/libGenericCodeGen.so
|
||||
%_libdir/libHLSL.so
|
||||
@@ -157,7 +157,6 @@ done
|
||||
%_libdir/libOGLCompiler.so
|
||||
%_libdir/libOSDependent.so
|
||||
%_libdir/libSPIRV.so
|
||||
%_libdir/libSPVRemapper.so
|
||||
%_libdir/libglslang.so
|
||||
%_libdir/libglslang-default-resource-limits.so
|
||||
|
||||
|
||||
Reference in New Issue
Block a user