Update glslang to 16.0.1
SPIRVRemapper is kept in place, because we use it, even though it has
been removed upstream. (switching SPIRV-Tools and involving yet another
third-party dependency is not an option atm, something to be considered
in the future)
It is ported to use spirv.hpp11 however, so we can remove the spirv.hpp
that is not used anywhere else within glslang now.
The existing .patch files are removed. These have not been applying for
years, because due to the nature of the required changes for INTEGRITY
and co, this code base cannot be updated by blindly pulling in the
upstream code and then automatically applying patches.
Rather, glslang updates are currently done by comparing and manually
moving, one by one, the changed code blocks from the new upstream
version into Qt's patched code base. This avoids having to recreate the
INTEGRITY (and some QNX) related namespace and function renaming
changes. Regardless, a new .patch file is added, just in case, that
allows recreating Qt's patched version from the upstream 16.1.0 sources.
[ChangeLog][Third-Party Code] glslang has been updated to 16.1.0
Task-number: QTBUG-143149
Pick-to: 6.11
Change-Id: Ie645d407715f94a156cc722395e63fb85e452ac9
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
| commit | 203931776fb2d4be6d0f50473eb3b01b10285476 |
| parent | 395ef54ae63d533a18762e9a42f7c348e0c4640d |
| author | Laszlo Agocs <laszlo.agocs@qt.io> |
| committer | Laszlo Agocs <laszlo.agocs@qt.io> |
| commit time | Fri, 6 Feb 2026 10:46:00 +0100 |
- M src/3rdparty/glslang/SPIRV/GLSL.ext.ARM.h
- M src/3rdparty/glslang/SPIRV/GLSL.ext.EXT.h
- M src/3rdparty/glslang/SPIRV/GLSL.ext.KHR.h
- M src/3rdparty/glslang/SPIRV/GLSL.ext.NV.h
- M src/3rdparty/glslang/SPIRV/GLSL.ext.QCOM.h
- M src/3rdparty/glslang/SPIRV/GlslangToSpv.cpp
- M src/3rdparty/glslang/SPIRV/InReadableOrder.cpp
- M src/3rdparty/glslang/SPIRV/SPVRemapper.cpp
- M src/3rdparty/glslang/SPIRV/SPVRemapper.h
- M src/3rdparty/glslang/SPIRV/SpvBuilder.cpp
- M src/3rdparty/glslang/SPIRV/SpvBuilder.h
- M src/3rdparty/glslang/SPIRV/SpvPostProcess.cpp
- M src/3rdparty/glslang/SPIRV/SpvTools.cpp
- M src/3rdparty/glslang/SPIRV/disassemble.cpp
- M src/3rdparty/glslang/SPIRV/doc.cpp
- M src/3rdparty/glslang/SPIRV/doc.h
- M src/3rdparty/glslang/SPIRV/hex_float.h
- D src/3rdparty/glslang/SPIRV/spirv.hpp
- A src/3rdparty/glslang/SPIRV/spirv.hpp11
- M src/3rdparty/glslang/SPIRV/spvIR.h
- A src/3rdparty/glslang/SPIRV/spvUtil.h
- M src/3rdparty/glslang/glslang/CInterface/glslang_c_interface.cpp
- M src/3rdparty/glslang/glslang/HLSL/hlslParseHelper.cpp
- M src/3rdparty/glslang/glslang/Include/BaseTypes.h
- M src/3rdparty/glslang/glslang/Include/ConstantUnion.h
- M src/3rdparty/glslang/glslang/Include/PoolAlloc.h
- M src/3rdparty/glslang/glslang/Include/Types.h
- M src/3rdparty/glslang/glslang/Include/arrays.h
- M src/3rdparty/glslang/glslang/Include/glslang_c_interface.h
- M src/3rdparty/glslang/glslang/Include/glslang_c_shader_types.h
- M src/3rdparty/glslang/glslang/Include/intermediate.h
- M src/3rdparty/glslang/glslang/Include/visibility.h
- M src/3rdparty/glslang/glslang/MachineIndependent/Constant.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/Initialize.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/IntermTraverse.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/Intermediate.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/LiveTraverser.h
- M src/3rdparty/glslang/glslang/MachineIndependent/ParseContextBase.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/ParseHelper.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/ParseHelper.h
- M src/3rdparty/glslang/glslang/MachineIndependent/RemoveTree.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/Scan.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/ScanContext.h
- M src/3rdparty/glslang/glslang/MachineIndependent/ShaderLang.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/SymbolTable.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/SymbolTable.h
- M src/3rdparty/glslang/glslang/MachineIndependent/Versions.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/Versions.h
- M src/3rdparty/glslang/glslang/MachineIndependent/glslang.y
- M src/3rdparty/glslang/glslang/MachineIndependent/glslang_tab.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/glslang_tab.cpp.h
- M src/3rdparty/glslang/glslang/MachineIndependent/intermOut.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/iomapper.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/iomapper.h
- M src/3rdparty/glslang/glslang/MachineIndependent/linkValidate.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/localintermediate.h
- M src/3rdparty/glslang/glslang/MachineIndependent/parseVersions.h
- M src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpContext.h
- M src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/propagateNoContraction.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/reflection.cpp
- M src/3rdparty/glslang/glslang/MachineIndependent/reflection.h
- M src/3rdparty/glslang/glslang/Public/ShaderLang.h
- M src/3rdparty/glslang/glslang/Public/resource_limits_c.h
- M src/3rdparty/glslang/glslang/ResourceLimits/ResourceLimits.cpp
- M src/3rdparty/glslang/glslang/ResourceLimits/resource_limits_c.cpp
- M src/3rdparty/glslang/qt_attribution.json
- A src/3rdparty/patches/glslang/0001-Patch-glslang-16.0.1-and-restore-SPVRemapper.patch
- D src/3rdparty/patches/glslang/0001-glslang-Fix-build-on-INTEGRITY.patch
- D src/3rdparty/patches/glslang/0002-Rename-Sh-symbols-to-avoid-clashes-on-INTEGRITY.patch
- D src/3rdparty/patches/glslang/0003-glslang-Add-QtShaderTools-namespace-to-avoid-INTEGRI.patch
- D src/3rdparty/patches/glslang/0004-Fix-build-with-gcc-13.patch
- D src/3rdparty/patches/glslang/0005-glslang-Replace-BOOL-with-ANOTHER_BOOL-define-for-VxWroks.patch
- D src/3rdparty/patches/glslang/0006-Undefine_restrict_keyword.patch
- D src/3rdparty/patches/glslang/0007-glslang-Fix-QtShaderTools-namespace-for-INTEGRITY.patch
- D src/3rdparty/patches/glslang/0008-glslang-Drop-C-17-filesystem-usage.patch
- D src/3rdparty/patches/glslang/0009-glslang-Fix-Workaround-crash-on-Android-arm64-v8a-in.patch
- D src/3rdparty/patches/glslang/0010-glslang-fix-missing-namespacing.patch