yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
275822a6
vulkan-sdk-1.4.350.0
Revision history for glslang
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
NEXT
- Deprecate the HLSL front-end. It will be removed at the next major version. See issue #4210 for details.
16.3.0 2026-05-01
Deprecation Notice
- Deprecate the HLSL front-end. See issue #4210 for details.
Other changes
- Support GL_NV_explicit_typecast
- Raise the maximum limit for specialization constant IDs
- Add explicit 8-bit and 16-bit type support for bitfieldReverse
- Implement system include directives for the standalone wrapper
- Check for invalid usage of gl_WorkGroupSize components
- HLSL: Provide string error context only if token is a string
- Fix layoutDescriptorStride bitfield truncation for large stride values
- GL_EXT_long_vector with 2-4 components no longer require LongVector capability
- Fix alignment of guard blocks
- Fix ShaderDebugInfo having invalid line numbers when generating SPIRV 1.0
- Replace ostringstream with string concat during #include preprocessing
- Check for bad parameters on long vector type
- HLSL: Check for bad integer argument on Load*, Store*, Interlocked*
- HLSL: handle type error for ternary operator
- HLSL: Ensure scope is popped even when method body fails to parse
- Avoid unneccessary copies in SpirvIntrinsics.cpp
- Unconditionally emit debug source for include files when using non-semantic debug info
- Support bfloat16 and float8 tensors
- Add small type capabilities for GLSL.STD.450
- Add initial support for NonSemantic.Shader.DebugInfo 101
- Fix access chains for GL_ARM_tensors with raw descriptor heap accesses
- Support GL_KHR_compute_shader_derivatives
- Require a quad or linear layout qualifier to be specified for GL_KHR_compute_shader_derivatives
- Supportx SPV_KHR_constant_data and SPV_KHR_abort
16.2.0 2026-01-22
- 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
16.1.0 2025-12-01
- Avoid emitting OpCapability RuntimeDescriptorArray when unnecessary
- Improve compilation speed when debug infomation is enabled
- Fix Debug Info for Retargeted Builtins
- 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
16.0.0 2025-09-25
Breaking changes
- Remove spirv-remapper (ported to SPIRV-Tools as canonicalize-ids optimization pass)
Other changes
- Emit error for in/out structs containing booleans
- Fix contradictory layout link errors
- Improve error checks for float8 math
- Fix bug in cooperative matrix load/store handling of array slices
- Update memory semantic validation rules to match update to Vulkan specification
- Simplify glslang grammar for identifier lists
- Fix erroneous parse errors in variable declarations using existing struct names
- Fix type conversions for createTensorLayout/ViewNV
- Fix OpAccessChain signed index issue for small unsigned integers
- Support GLSL_QCOM_cooperative_matrix_conversion
- Allow spec constant matrix use
- Fix inconsistent labeling of capability strings
- Fix crash on unnamed function parameters under relaxed rules
- Fix exported member functions in ShaderLang.h
15.4.0 2025-06-26
- Support GL_NV_gpu_shader5/GL_ARB_gpu_shader5
- Remove BUILD_SHARED_LIBS option (defer to built-in variable)
- Remap discard to OpDemoteToHelperInvocation
- Fix typos and improve readability of help message
- Support GLSL_QCOM_tile_shading
- Emit correct capability for linear swept sphere
- Support GL_EXT_float8_e5m2_e4m3
- Move E_SPV_ARM_cooperative_matrix_layouts into GLSL.ext.ARM.h
- Support GL_ARM_tensors
15.3.0 2025-04-24
- Fix CMake find_package on Windows when building shared libraries
- Fix crash calling coopMatLoadTensorNV on an array element
- Avoid reusing array types with stride when no stride is requested
- Fix non-ASCII comments
- Support GL_EXT_bfloat16
- Fix several issues with link-time implicit array size merging
- Support DebugSourceContinued
- LiveTraverser no longer traverses switch cases that are statically not accessed
- Implement optional cross-stage check for inputs with no matching outputs
15.2.0 2025-02-24
- Fix find_package on Windows when BUILD_SHARED_LIBS=ON
- 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
- Support GLSL_EXT_nontemporal_keyword
- Support GL_NV_cluster_acceleration_structure
- Support GL_NV_cooperative_vector
- Check SparseTextureOffset non-const parameters
- Support GL_EXT_texture_offset_non_const
- Revert cross-stage check for missing outputs
- Support EXT_integer_dot_product
- Add support for OpTypeRayQueryKHR and OpTypeAccelerationStructureKHR to SPVRemapper
15.1.0 2024-12-13
- Add Vulkan 1.4 target and client
- Improve conversion of uniform block to push constant
- Improve cross stage error reporting by reporting proper stager rather than "unkwown stage"
- Add warning if forward declaration uses layout qualifiers
- Implement GLSL_NV_cooperative_matrix2
- Emit OpModfStruct instead of depracated OpModf
- Add link-time cross stage optimization
- Add column to DebugLexicalBlock
- Propagate errors from symbol table initialization
- Fix nonsemantic debuginfo line attribution for cooperative matrix
15.0.0 2024-09-23
Breaking changes
- Explicitly export all symbols that are part of the public API and hide other symbols by default
Other changes
- Allow building glslang without the SPIR-V backend using the new ENABLE_SPIRV build option
- 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
- Improve debug location of branch/return instructions
- Silence preprocessor '#' error reporting in inactive #if/#ifdef/#elif/#else blocks
- Apply GLSL memory decorations to top-level OpVariable
- Move definition of GLSLANG_EXPORT to visibility.h
- Merge ancillary libraries into main glslang library and stub originals
- Add public setSourceFile and addSourceText methods to TShader class
- Add type checks for hitObjectNV
- Add optimizerAllowExpandedIDBound to SpvOptions
- Add SpvTools.h back to public headers
- Add cross-stage check for missing outputs
- Fix HLSL offsets for non-buffers
- Add types and functions for IO mapping to API
- Add function to set preprocessed code to API
- Add set/get version functions to API
- Expose setGlobalUniform functions to API
- Don't emit debug instructions before an OpPhi
- Add command-line and API option to enable reporting column location for compiler errors
- Improve location aliasing checks
- Support constant expression calculated by matrixCompMult
- Fix crash caused by atomicCounter() use without arguments
- Fix multi-line function call line numbers
- Add line info to OpDebugDeclare for function parameters
- Fix HLSL OpDebugFunction file name
- Fix duplicate decorations
- Enable compilation of glslang without thread support for WASI
14.3.0 2024-06-25
- Generate vector constructions more efficiently when sizes match
- Skip identity conversions for 8-bit and 16-bit types
- Add cmake aliases for public libraries
- Support ARM extended matrix layout
- Emit debug info for buffer references
- Add support for OpExtInstWithForwardRefsKHR
- Generate SPV_EXT_replicated_compisites when requested by pragma
- Reuse loads generated for repeated function arguments
- Fix gl_HitT alias of gl_RayTmax
- Fix some cases where invalid SPIR-V was being generated when using separate samplers
- Add back layoutLocation to public API
14.2.0 2024-05-02
- Improve checking for location aliasing errors
- Fix undefined behavior in parser
- Add bounds check to gl_SampleMask
- Fix alignment and padding of matrices consuming one vector
- Remove duplicate SPIR-V decorations
- Check for exponent overflow in float parser
- Fix bug in relaxed verification rules
- Fix disassembly of debugBreak
- Fix bug when importing SPIR-V extended intruction set
- Fix issues with the interaction of cooperative_matrix and spirv_intrinsics
- Support SPV_QCOM_image_processing2
- Support files with UTF8BOM character
14.1.0 2024-03-08
- Add a new --abosute-path command-line option to output absolute paths in error messages
- Support GL_EXT_control_flow_attributes2
- Support GL_ARB_shading_language_include
- Fix HLSL built-in passthrough via inout
- Enable -Wimplicit-fallthrough and fix warnings
- Fix -Wmissing_field_initializer warnings
- Document supported dependencies in known_good.json
- Clear spirv vector before use
- Emit debug info for accelerationStructure and rayQuery variables
- Support NV_shader_atomic_fp16_vector
- Support GL_EXT_expect_assume_support
- Allow external control of whether glslang will be tested or installed
- Improve debug source and line info
- Support GL_KHR_shader_subgroup_rotate
- Add SPIRV-Tools-opt dependency if ENABLE_OPT
- Support EXT_shader_quad_control
- Add OpAssumeTrueKHR and OpExpectKHR
- Support GL_EXT_maximal_reconvergence
- Remove generation of deprecated Target.cmake files
- Fix array size of gl_SampleMask and gl_SampleMaskIn
- Support GL_ARB_texture_multisample_extension
- Emit DebugTypePointer when non-semantic debug info is enabled
14.0.0 2023-12-21
Breaking changes
- The legacy libraries named HLSL and OGLCompiler have been removed. To avoid future disruptions, please use cmake's find_package mechanism rather than hardcoding library dependencies.
- Only the headers that are part of glslang's public interface are included in the install target.
- Remove OVERRIDE_MSVCCRT cmake option.
Other changes
- Fix spv_options initialization
- Fix line number for OpDebugFunction and OpDebugScope for function
- Fix SPV_KHR_cooperative_matrix enumerants
- Fix nullptr crash
- Fix GL_ARB_shader_storage_buffer_object version
- Fix interpolant ES error
- Generate DebugValue for constant arguments
- Overflow/underflow out-of-range floats to infinity/0.0 respectively
- Support SV_ViewID keywords for HLSL
- Implement relaxed rule for opaque struct members
- Add BUILD_WERROR cmake option
- Add GLSLANG_TESTS cmake option
- Always generate OpDebugBasicType for bool type
- Fix GLSL parsing of '#' when not preceded by space or tab
- Fix GL_ARB_bindless_texture availability
- Support GL_EXT_draw_instanced extension
- Support GL_EXT_texture_array extension
- Fix conversion of 64-bit unsigned integer constants to bool
- Output 8-bit and 16-bit capabilities when appropriate for OpSpecConstant
13.1.1 2023-10-16
- Initialize compile_only field in C interface
13.1.0 2023-10-13
- Support GL_EXT_texture_shadow_lod
- Support GL_NV_displacement_micromap
- Fix ByteAddressBuffer when used a function parameter
- Add more verbose messages if SPIRV-Tools is not found
- Fix names for explicitly sized types when emitting nonsemantic debug info
- Emit error for r-value arguments in atomic memory operations
- Add --no-link option
- Beautify preprocessor output format
- Fix race condition in glslangValidator
- Only set LocalSizeId mode when necessary
- Don't emit invalid debug info for buffer references
13.0.0 2023-08-23
Breaking changes
- Simplify PoolAlloc via thread_local
- Remove InitializeDLL functions
- Remove OSDependent TLS functions
- Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL code paths
Other changes
- Raise CMAKE minimum to 3.17.2
- Support GL_KHR_cooperative_matrix
- Support GL_QCOM_image_processing_support
- Support outputting each module to a filename with spirv-remap
- Generate an error when gl_PrimitiveShaderRateEXT is used without enabling the extension
- Improve layout checking when GL_EXT_spirv_intrinsics is enabled
12.3.1 2023-07-20
Other changes
- Improve backward compatibility for glslangValidator rename on Windows
12.3.0 2023-07-19
Other changes
- Rename glslangValidator to glslang and create glslangValidator symlink
- Support HLSL binary literals
- Add missing initialization members for web
- Improve push_constant upgrading
- Fix race condition in spirv remap
- Support pre and post HLSL qualifier validation
- Force generateDebugInfo when non-semantic debug info is enabled
- Exit with error if output file cannot be written
- Fix struct member buffer reference decorations
12.2.0 2023-05-17
Other changes
- Support GLSL_EXT_shader_tile_image
- Support GL_EXT_ray_tracing_position_fetch
- Support custom include callbacks via the C API
- Add preamble-text command-line option
- Accept variables as parameters of spirv_decorate_id
- Fix generation of conditionals with a struct result
- Fix double expansion of macros
- Fix DebugCompilationUnit scope
- Improve line information
12.1.0 2023-03-21
Other changes
- Reject non-float inputs/outputs for version less than 120
- Fix invalid BufferBlock decoration for SPIR-V 1.3 and above
- Add HLSL relaxed-precision float/int matrix expansions
- Block decorate Vulkan structs with RuntimeArrays
- Support InterlockedAdd on float types
12.0.0 2023-01-18
Breaking changes
- An ABI was accidentally broken in #3014. Consequently, we have incremented the major revision number.
Other changes
- Add support for ARB_bindless_texture.
- Add support for GL_NV_shader_invocation_reorder.
- Fix const parameter debug types when using NonSemantic.Shader.DebugInfo.100.
- Fix NonSemantic.Shader.DebugInfo.100 disassembly.
- Fix MaxDualSourceDrawBuffersEXT usage.
- Fix structure member reference crash.
11.13.0 2022-12-06
Other changes
- Make HelperInvocation accesses volatile for SPIR-V 1.6.
- Improve forward compatibility of ResourceLimits interface
- Remove GLSLANG_ANGLE
11.12.0 2022-10-12
Other changes
- Update generator version
- Add support for GL_EXT_mesh_shader
- Add support for NonSemantic.Shader.DebugInfo.100
- Make OpEmitMeshTasksEXT a terminal instruction
- Make gl_SubGroupARB a flat in int in Vulkan
- Add support for GL_EXT_opacity_micromap
- Add preamble support to C interface
11.11.0 2022-08-11
Other changes
- Add OpSource support to C interface
- Deprecate samplerBuffer for spirv1.6 and later
- Add support for SPV_AMD_shader_early_and_late_fragment_tests
11.10.0 2022-06-02
Other changes
- Generate OpLine before OpFunction
- Add support for VK_EXT_fragment_shader_barycentric
- Add whitelist filtering for debug comments in SPIRV-Remap
- Add support for GL_EXT_ray_cull_mask
11.9.0 2022-04-06
Other changes
- Add GLSL version override functionality
- Add eliminate-dead-input-components to -Os
- Add enhanced-msgs option
- Explicitly use Python 3 for builds
11.8.0 2022-01-27
Other changes
- Add support for SPIR-V 1.6
- Add support for Vulkan 1.3
- Add --hlsl-dx-position-w option
11.7.0 2021-11-11
Other changes
- Add support for targeting Vulkan 1.2 in the C API
11.6.0 2021-08-25
Other changes
- Atomic memory function only for shader storage block member or shared variable
- Add support for gl_MaxVaryingVectors for ogl
- Fix loading bool arrays from interface blocks
- Generate separate stores for partially swizzled memory stores
- Allow layout(std430) uniform with GL_EXT_scalar_block_layout
- Support for pragma STDGL invariant(all)
- Support for GL_NV_ray_tracing_motion_blur
11.5.0 2021-06-23
Other changes
- Implement GLSL_EXT_shader_atomic_float2
- Implement GL_EXT_spirv_intrinsics
- Fixed SPIR-V remapper not remapping OpExtInst instruction set IDs
- only declare compatibility gl_ variables in compatibility mode
- Add support for float spec const vector initialization
- Implement GL_EXT_subgroup_uniform_control_flow.
- Fix arrays dimensioned with spec constant sized gl_WorkGroupSize
- Add support for 64bit integer scalar and vector types to bitCount() builtin
11.4.0 2021-04-22
Other changes
- Fix to keep source compatible with CMake 3.10.2
11.3.0 2021-04-21
Other changes
- Added --depfile
- Added --auto-sampled-textures
- Now supports InterpolateAt-based functions
- Supports cross-stage automatic IO mapping
- Supports GL_EXT_vulkan_glsl_relaxed (-R option)
11.2.0 2021-02-18
Other changes
- Removed Python requirement when not building with spirv-tools
- Add support for GL_EXT_shared_memory_block
- Implement GL_EXT_null_initializer
- Add CMake support for Fuschia
11.1.0 2020-12-07
Other changes
- Added ray-tracing extension support
11.0.0 2020-07-20
Breaking changes
Visual Studio 2013 is no longer supported
As scheduled, Microsoft Visual Studio 2013 is no longer officially supported. Please upgrade to at least Visual Studio 2015.
10.15.3847 2020-07-20
Breaking changes
- The following files have been removed:
glslang/include/revision.hglslang/include/revision.template
The GLSLANG_MINOR_VERSION and GLSLANG_PATCH_LEVEL defines have been removed
from the public headers.
Instead each build script now uses the new build_info.py
script along with the build_info.h.tmpl and this CHANGES.md file to generate
the glslang build-time generated header glslang/build_info.h.
The new public API to obtain the glslang version is glslang::GetVersion().
Other changes
glslangshared objects produced by CMake are nowSONAMEversioned using Semantic Versioning 2.0.0.
1# Revision history for `glslang` 2 3All notable changes to this project will be documented in this file. 4This project adheres to[Semantic Versioning]( https://semver.org/) . 5 6## NEXT 7 8* Deprecate the HLSL front-end. It will be removed at the next major version. 9 See issue #4210 for details. 10 11## 16.3.0 2026-05-01 12### Deprecation Notice 13* Deprecate the HLSL front-end. See issue #4210 for details. 14 15### Other changes 16* Support GL_NV_explicit_typecast 17* Raise the maximum limit for specialization constant IDs 18* Add explicit 8-bit and 16-bit type support for bitfieldReverse 19* Implement system include directives for the standalone wrapper 20* Check for invalid usage of gl_WorkGroupSize components 21* HLSL: Provide string error context only if token is a string 22* Fix layoutDescriptorStride bitfield truncation for large stride values 23* GL_EXT_long_vector with 2-4 components no longer require LongVector capability 24* Fix alignment of guard blocks 25* Fix ShaderDebugInfo having invalid line numbers when generating SPIRV 1.0 26* Replace ostringstream with string concat during #include preprocessing 27* Check for bad parameters on long vector type 28* HLSL: Check for bad integer argument on Load*, Store*, Interlocked* 29* HLSL: handle type error for ternary operator 30* HLSL: Ensure scope is popped even when method body fails to parse 31* Avoid unneccessary copies in SpirvIntrinsics.cpp 32* Unconditionally emit debug source for include files when using non-semantic debug info 33* Support bfloat16 and float8 tensors 34* Add small type capabilities for GLSL.STD.450 35* Add initial support for NonSemantic.Shader.DebugInfo 101 36* Fix access chains for GL_ARM_tensors with raw descriptor heap accesses 37* Support GL_KHR_compute_shader_derivatives 38* Require a quad or linear layout qualifier to be specified for GL_KHR_compute_shader_derivatives 39* Supportx SPV_KHR_constant_data and SPV_KHR_abort 40 41## 16.2.0 2026-01-22 42* Allow gl_FragDepth identifier to be redeclared 43* Replace 'GL_TASK(MESH)_SHADER_NV' with 'GL_TASK(MESH)_SHADER_EXT' 44* Scalarize swizzled MeshEXT stores 45* Support GL_EXT_long_vector 46* Add missing preamble #define for GL_EXT_nontemporal_keyword 47* Support GL_NV_push_constant_bank 48* Support GL_EXT_descriptor_heap 49 50## 16.1.0 2025-12-01 51* Avoid emitting OpCapability RuntimeDescriptorArray when unnecessary 52* Improve compilation speed when debug infomation is enabled 53* Fix Debug Info for Retargeted Builtins 54* Support GL_EXT_shader_invocation_reorder 55* Add checks to coopMatMulAdd 56* Implement stringify operator 57* Add ES support for depth layout qualifier 58* Add debug info for hitObjectNV 59* Emit a DebugGlobalVariable instead of DebugLocalVariable for rayQueryEXT 60* Add debug info for constant variable 61* Improve debug line to point declaration 62* Fix bugs in buffer reference alignment 63* Reject string operands in binary and select ops 64* Support GL_EXT_shader_64bit_indexing 65* Support GLSL_EXT_uniform_buffer_unsized_array 66* Add semantic check for cooperative vector loads/stores 67* Improve the debug info name of opaque (sampler) types 68* Support IO mapping of combined samplers and acceleration structures 69* Fix bug in debug info for bool types inside SSBO/UBO 70* Fix bug in debug info for struct member names 71* Add methods for entry point and invert-y to C interface 72 73## 16.0.0 2025-09-25 74### Breaking changes 75* Remove spirv-remapper (ported to SPIRV-Tools as canonicalize-ids optimization pass) 76 77### Other changes 78* Emit error for in/out structs containing booleans 79* Fix contradictory layout link errors 80* Improve error checks for float8 math 81* Fix bug in cooperative matrix load/store handling of array slices 82* Update memory semantic validation rules to match update to Vulkan specification 83* Simplify glslang grammar for identifier lists 84* Fix erroneous parse errors in variable declarations using existing struct names 85* Fix type conversions for createTensorLayout/ViewNV 86* Fix OpAccessChain signed index issue for small unsigned integers 87* Support GLSL_QCOM_cooperative_matrix_conversion 88* Allow spec constant matrix use 89* Fix inconsistent labeling of capability strings 90* Fix crash on unnamed function parameters under relaxed rules 91* Fix exported member functions in ShaderLang.h 92 93## 15.4.0 2025-06-26 94* Support GL_NV_gpu_shader5/GL_ARB_gpu_shader5 95* Remove BUILD_SHARED_LIBS option (defer to built-in variable) 96* Remap discard to OpDemoteToHelperInvocation 97* Fix typos and improve readability of help message 98* Support GLSL_QCOM_tile_shading 99* Emit correct capability for linear swept sphere 100* Support GL_EXT_float8_e5m2_e4m3 101* Move E_SPV_ARM_cooperative_matrix_layouts into GLSL.ext.ARM.h 102* Support GL_ARM_tensors 103 104## 15.3.0 2025-04-24 105* Fix CMake find_package on Windows when building shared libraries 106* Fix crash calling coopMatLoadTensorNV on an array element 107* Avoid reusing array types with stride when no stride is requested 108* Fix non-ASCII comments 109* Support GL_EXT_bfloat16 110* Fix several issues with link-time implicit array size merging 111* Support DebugSourceContinued 112* LiveTraverser no longer traverses switch cases that are statically not accessed 113* Implement optional cross-stage check for inputs with no matching outputs 114 115## 15.2.0 2025-02-24 116* Fix find_package on Windows when BUILD_SHARED_LIBS=ON 117* Emit error if using in/out with struct pointer 118* Emit SPV_EXT_opacity_micromap if GL extension is present 119* Support GL_NV_linear_swept_spheres 120* Support GLSL_EXT_nontemporal_keyword 121* Support GL_NV_cluster_acceleration_structure 122* Support GL_NV_cooperative_vector 123* Check SparseTextureOffset non-const parameters 124* Support GL_EXT_texture_offset_non_const 125* Revert cross-stage check for missing outputs 126* Support EXT_integer_dot_product 127* Add support for OpTypeRayQueryKHR and OpTypeAccelerationStructureKHR to SPVRemapper 128 129## 15.1.0 2024-12-13 130* Add Vulkan 1.4 target and client 131* Improve conversion of uniform block to push constant 132* Improve cross stage error reporting by reporting proper stager rather than "unkwown stage" 133* Add warning if forward declaration uses layout qualifiers 134* Implement GLSL_NV_cooperative_matrix2 135* Emit OpModfStruct instead of depracated OpModf 136* Add link-time cross stage optimization 137* Add column to DebugLexicalBlock 138* Propagate errors from symbol table initialization 139* Fix nonsemantic debuginfo line attribution for cooperative matrix 140 141## 15.0.0 2024-09-23 142### Breaking changes 143* Explicitly export all symbols that are part of the public API and hide other symbols by default 144 145### Other changes 146* Allow building glslang without the SPIR-V backend using the new ENABLE_SPIRV build option 147* Add setResourceSetBinding method to the API 148* Add interface to get the GLSL IO mapper and resolver 149* Allow compute derivative modes when the workgroup dimensions are spec constants 150* Improve debug location of branch/return instructions 151* Silence preprocessor '#' error reporting in inactive #if/#ifdef/#elif/#else blocks 152* Apply GLSL memory decorations to top-level OpVariable 153* Move definition of GLSLANG_EXPORT to visibility.h 154* Merge ancillary libraries into main glslang library and stub originals 155* Add public setSourceFile and addSourceText methods to TShader class 156* Add type checks for hitObjectNV 157* Add optimizerAllowExpandedIDBound to SpvOptions 158* Add SpvTools.h back to public headers 159* Add cross-stage check for missing outputs 160* Fix HLSL offsets for non-buffers 161* Add types and functions for IO mapping to API 162* Add function to set preprocessed code to API 163* Add set/get version functions to API 164* Expose setGlobalUniform functions to API 165* Don't emit debug instructions before an OpPhi 166* Add command-line and API option to enable reporting column location for compiler errors 167* Improve location aliasing checks 168* Support constant expression calculated by matrixCompMult 169* Fix crash caused by atomicCounter() use without arguments 170* Fix multi-line function call line numbers 171* Add line info to OpDebugDeclare for function parameters 172* Fix HLSL OpDebugFunction file name 173* Fix duplicate decorations 174* Enable compilation of glslang without thread support for WASI 175 176## 14.3.0 2024-06-25 177* Generate vector constructions more efficiently when sizes match 178* Skip identity conversions for 8-bit and 16-bit types 179* Add cmake aliases for public libraries 180* Support ARM extended matrix layout 181* Emit debug info for buffer references 182* Add support for OpExtInstWithForwardRefsKHR 183* Generate SPV_EXT_replicated_compisites when requested by pragma 184* Reuse loads generated for repeated function arguments 185* Fix gl_HitT alias of gl_RayTmax 186* Fix some cases where invalid SPIR-V was being generated when using separate samplers 187* Add back layoutLocation to public API 188 189## 14.2.0 2024-05-02 190* Improve checking for location aliasing errors 191* Fix undefined behavior in parser 192* Add bounds check to gl_SampleMask 193* Fix alignment and padding of matrices consuming one vector 194* Remove duplicate SPIR-V decorations 195* Check for exponent overflow in float parser 196* Fix bug in relaxed verification rules 197* Fix disassembly of debugBreak 198* Fix bug when importing SPIR-V extended intruction set 199* Fix issues with the interaction of cooperative_matrix and spirv_intrinsics 200* Support SPV_QCOM_image_processing2 201* Support files with UTF8BOM character 202 203## 14.1.0 2024-03-08 204* Add a new --abosute-path command-line option to output absolute paths in error messages 205* Support GL_EXT_control_flow_attributes2 206* Support GL_ARB_shading_language_include 207* Fix HLSL built-in passthrough via inout 208* Enable -Wimplicit-fallthrough and fix warnings 209* Fix -Wmissing_field_initializer warnings 210* Document supported dependencies in known_good.json 211* Clear spirv vector before use 212* Emit debug info for accelerationStructure and rayQuery variables 213* Support NV_shader_atomic_fp16_vector 214* Support GL_EXT_expect_assume_support 215* Allow external control of whether glslang will be tested or installed 216* Improve debug source and line info 217* Support GL_KHR_shader_subgroup_rotate 218* Add SPIRV-Tools-opt dependency if ENABLE_OPT 219* Support EXT_shader_quad_control 220* Add OpAssumeTrueKHR and OpExpectKHR 221* Support GL_EXT_maximal_reconvergence 222* Remove generation of deprecated Target.cmake files 223* Fix array size of gl_SampleMask and gl_SampleMaskIn 224* Support GL_ARB_texture_multisample_extension 225* Emit DebugTypePointer when non-semantic debug info is enabled 226 227## 14.0.0 2023-12-21 228 229### Breaking changes 230* The legacy libraries named HLSL and OGLCompiler have been removed. To avoid future disruptions, please use cmake's find_package mechanism rather than hardcoding library dependencies. 231* Only the headers that are part of glslang's public interface are included in the install target. 232* Remove OVERRIDE_MSVCCRT cmake option. 233 234### Other changes 235* Fix spv_options initialization 236* Fix line number for OpDebugFunction and OpDebugScope for function 237* Fix SPV_KHR_cooperative_matrix enumerants 238* Fix nullptr crash 239* Fix GL_ARB_shader_storage_buffer_object version 240* Fix interpolant ES error 241* Generate DebugValue for constant arguments 242* Overflow/underflow out-of-range floats to infinity/0.0 respectively 243* Support SV_ViewID keywords for HLSL 244* Implement relaxed rule for opaque struct members 245* Add BUILD_WERROR cmake option 246* Add GLSLANG_TESTS cmake option 247* Always generate OpDebugBasicType for bool type 248* Fix GLSL parsing of '#' when not preceded by space or tab 249* Fix GL_ARB_bindless_texture availability 250* Support GL_EXT_draw_instanced extension 251* Support GL_EXT_texture_array extension 252* Fix conversion of 64-bit unsigned integer constants to bool 253* Output 8-bit and 16-bit capabilities when appropriate for OpSpecConstant 254 255## 13.1.1 2023-10-16 256* Initialize compile_only field in C interface 257 258## 13.1.0 2023-10-13 259* Support GL_EXT_texture_shadow_lod 260* Support GL_NV_displacement_micromap 261* Fix ByteAddressBuffer when used a function parameter 262* Add more verbose messages if SPIRV-Tools is not found 263* Fix names for explicitly sized types when emitting nonsemantic debug info 264* Emit error for r-value arguments in atomic memory operations 265* Add --no-link option 266* Beautify preprocessor output format 267* Fix race condition in glslangValidator 268* Only set LocalSizeId mode when necessary 269* Don't emit invalid debug info for buffer references 270 271## 13.0.0 2023-08-23 272 273### Breaking changes 274* Simplify PoolAlloc via thread_local 275* Remove InitializeDLL functions 276* Remove OSDependent TLS functions 277* Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL code paths 278 279### Other changes 280* Raise CMAKE minimum to 3.17.2 281* Support GL_KHR_cooperative_matrix 282* Support GL_QCOM_image_processing_support 283* Support outputting each module to a filename with spirv-remap 284* Generate an error when gl_PrimitiveShaderRateEXT is used without enabling the extension 285* Improve layout checking when GL_EXT_spirv_intrinsics is enabled 286 287## 12.3.1 2023-07-20 288 289### Other changes 290* Improve backward compatibility for glslangValidator rename on Windows 291 292## 12.3.0 2023-07-19 293 294### Other changes 295* Rename glslangValidator to glslang and create glslangValidator symlink 296* Support HLSL binary literals 297* Add missing initialization members for web 298* Improve push_constant upgrading 299* Fix race condition in spirv remap 300* Support pre and post HLSL qualifier validation 301* Force generateDebugInfo when non-semantic debug info is enabled 302* Exit with error if output file cannot be written 303* Fix struct member buffer reference decorations 304 305## 12.2.0 2023-05-17 306 307### Other changes 308* Support GLSL_EXT_shader_tile_image 309* Support GL_EXT_ray_tracing_position_fetch 310* Support custom include callbacks via the C API 311* Add preamble-text command-line option 312* Accept variables as parameters of spirv_decorate_id 313* Fix generation of conditionals with a struct result 314* Fix double expansion of macros 315* Fix DebugCompilationUnit scope 316* Improve line information 317 318## 12.1.0 2023-03-21 319 320### Other changes 321* Reject non-float inputs/outputs for version less than 120 322* Fix invalid BufferBlock decoration for SPIR-V 1.3 and above 323* Add HLSL relaxed-precision float/int matrix expansions 324* Block decorate Vulkan structs with RuntimeArrays 325* Support InterlockedAdd on float types 326 327## 12.0.0 2023-01-18 328 329### Breaking changes 330* An ABI was accidentally broken in #3014. Consequently, we have incremented the major revision number. 331 332### Other changes 333* Add support for ARB_bindless_texture. 334* Add support for GL_NV_shader_invocation_reorder. 335* Fix const parameter debug types when using NonSemantic.Shader.DebugInfo.100. 336* Fix NonSemantic.Shader.DebugInfo.100 disassembly. 337* Fix MaxDualSourceDrawBuffersEXT usage. 338* Fix structure member reference crash. 339 340## 11.13.0 2022-12-06 341 342### Other changes 343* Make HelperInvocation accesses volatile for SPIR-V 1.6. 344* Improve forward compatibility of ResourceLimits interface 345* Remove GLSLANG_ANGLE 346 347## 11.12.0 2022-10-12 348 349### Other changes 350* Update generator version 351* Add support for GL_EXT_mesh_shader 352* Add support for NonSemantic.Shader.DebugInfo.100 353* Make OpEmitMeshTasksEXT a terminal instruction 354* Make gl_SubGroupARB a flat in int in Vulkan 355* Add support for GL_EXT_opacity_micromap 356* Add preamble support to C interface 357 358## 11.11.0 2022-08-11 359 360### Other changes 361* Add OpSource support to C interface 362* Deprecate samplerBuffer for spirv1.6 and later 363* Add support for SPV_AMD_shader_early_and_late_fragment_tests 364 365## 11.10.0 2022-06-02 366 367### Other changes 368* Generate OpLine before OpFunction 369* Add support for VK_EXT_fragment_shader_barycentric 370* Add whitelist filtering for debug comments in SPIRV-Remap 371* Add support for GL_EXT_ray_cull_mask 372 373## 11.9.0 2022-04-06 374 375### Other changes 376* Add GLSL version override functionality 377* Add eliminate-dead-input-components to -Os 378* Add enhanced-msgs option 379* Explicitly use Python 3 for builds 380 381## 11.8.0 2022-01-27 382 383### Other changes 384* Add support for SPIR-V 1.6 385* Add support for Vulkan 1.3 386* Add --hlsl-dx-position-w option 387 388## 11.7.0 2021-11-11 389 390### Other changes 391* Add support for targeting Vulkan 1.2 in the C API 392 393## 11.6.0 2021-08-25 394 395### Other changes 396* Atomic memory function only for shader storage block member or shared variable 397* Add support for gl_MaxVaryingVectors for ogl 398* Fix loading bool arrays from interface blocks 399* Generate separate stores for partially swizzled memory stores 400* Allow layout(std430) uniform with GL_EXT_scalar_block_layout 401* Support for pragma STDGL invariant(all) 402* Support for GL_NV_ray_tracing_motion_blur 403 404## 11.5.0 2021-06-23 405 406### Other changes 407* Implement GLSL_EXT_shader_atomic_float2 408* Implement GL_EXT_spirv_intrinsics 409* Fixed SPIR-V remapper not remapping OpExtInst instruction set IDs 410* only declare compatibility gl_ variables in compatibility mode 411* Add support for float spec const vector initialization 412* Implement GL_EXT_subgroup_uniform_control_flow. 413* Fix arrays dimensioned with spec constant sized gl_WorkGroupSize 414* Add support for 64bit integer scalar and vector types to bitCount() builtin 415 416## 11.4.0 2021-04-22 417 418### Other changes 419* Fix to keep source compatible with CMake 3.10.2 420 421## 11.3.0 2021-04-21 422 423### Other changes 424* Added --depfile 425* Added --auto-sampled-textures 426* Now supports InterpolateAt-based functions 427* Supports cross-stage automatic IO mapping 428* Supports GL_EXT_vulkan_glsl_relaxed (-R option) 429 430## 11.2.0 2021-02-18 431 432### Other changes 433* Removed Python requirement when not building with spirv-tools 434* Add support for GL_EXT_shared_memory_block 435* Implement GL_EXT_null_initializer 436* Add CMake support for Fuschia 437 438## 11.1.0 2020-12-07 439 440### Other changes 441* Added ray-tracing extension support 442 443## 11.0.0 2020-07-20 444 445### Breaking changes 446 447#### Visual Studio 2013 is no longer supported 448 449[As scheduled]( https://github.com/KhronosGroup/glslang/blob/9eef54b2513ca6b40b47b07d24f453848b65c0df/README.md#planned-deprecationsremovals) , 450Microsoft Visual Studio 2013 is no longer officially supported. Please upgrade 451to at least Visual Studio 2015. 452 453## 10.15.3847 2020-07-20 454 455### Breaking changes 456 457* The following files have been removed: 458* `glslang/include/revision.h` 459* `glslang/include/revision.template` 460 461The`GLSLANG_MINOR_VERSION` and`GLSLANG_PATCH_LEVEL` defines have been removed 462from the public headers. \ 463Instead each build script now uses the new`build_info.py` 464script along with the`build_info.h.tmpl` and this`CHANGES.md` file to generate 465the glslang build-time generated header`glslang/build_info.h` . 466 467The new public API to obtain the`glslang` version is`glslang::GetVersion()` . 468 469### Other changes 470* `glslang` shared objects produced by CMake are now`SONAME` versioned using 471[Semantic Versioning 2.0.0]( https://semver.org/) .