You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the emitSourceFileName SPIR-V option, the -gN standalone flag, and the emit_source_file_name C interface field. These emit the source file name without the source text.
Allow location on inputs and outputs at any GLSL version for SPIR-V output
Allow multiple declarations of the same SPIR-V execution mode with different arguments
Built-in Functions and Variables
Fix the f16vec3 overload of halfBitsToInt16. The name had a typo, so the overload did not exist.
Add ballotAMD from GL_AMD_gcn_shader
Add integer sampler overloads of the texture footprint functions in GL_NV_shader_texture_footprint
Add gl_out[].gl_ViewportIndex and gl_Layer for GL_NV_viewport_array2 in tessellation control shaders
Descriptor Heap
Allow unsized descriptor heap arrays and unsized last members of heap blocks in ESSL 3.10 and later
Prevent invalid stores with GL_EXT_structured_descriptor_heap
Fix the read of empty member debug information in the image wrapper struct of a heap
Fix source names, duplicate types, and non-semantic debug information for descriptor heaps
Fix the use of Int8 instead of OffsetIdEXT in GL_EXT_structured_descriptor_heap
Fix GL_EXT_structured_descriptor_heap with scalar, which produced invalid output with no warning or error
Allow unsized arrays only as the last member of a resource heap or sampler heap
Fix invalid OpBufferPointerEXT before sampler and texture in a structured heap
Fold constant arithmetic in descriptor heap layouts, so constant inputs no longer produce OpSpecConstantOp
Fix swizzled stores through a descriptor heap access chain
Bindless Textures
Fix the crash on conversion of a sampler to uvec2
Make the rule for sampler and image out parameters depend on the GL_ARB_bindless_texture extension, not on parse order
Allow assignment of samplers and images under GL_ARB_bindless_texture
Stricter Checks
Validate the argument count of saturatedConvertEXT
Reject non-constant parameters for spirv_type
Reject constant_id on an expression of other specialization constants, because SPIR-V does not allow SpecId on OpSpecConstantOp
Add a warning for multiple local_size declarations
Validate the arguments of createTensorLayoutNV and createTensorViewNV
Reject taskPayloadSharedEXT on a declaration that declares no variable
Reject reads of mesh shader outputs under GL_EXT_mesh_shader. GL_NV_mesh_shader is not affected.
Reject a mismatched requirement list in makeSpirvRequirement
Require a constant matrixLayout argument in coopMatLoad and coopMatStore
Reject a struct type parameter in typeParametersCheck
Require GL_NV_ray_tracing_motion_blur for the hit object motion functions and GL_EXT_ray_tracing_position_fetch for hitObjectGetIntersectionTriangleVertexPositionsEXT. The --relaxed-errors option changes these errors to warnings.
Remove the rectangle sampler and image types and functions for Vulkan. They remain available in validation mode and for OpenGL SPIR-V.
HLSL
Fix the null dereference on a non-constant numthreads argument
Fix the null dereference after post-increment or post-decrement of a non-lvalue
Fix the parser crash on a malformed array specifier
Fix the null dereference on an unnamed entry point parameter
Reject a non-struct template type in TextureBuffer
Reject a mismatched Append() argument in finalizeAppendMethods
Fix indexStructBufferContent on arrays of structured buffers
Fix the overflow of preTokenStack in HlslTokenStream::recedeToken
Fix the access to an empty debug scope stack for a missing entry point
Reject out-of-range sizes for vector and matrix templates
Reject nested function definitions
Reject multiple semantics on one declaration
Reject case and default labels outside a switch
Bug Fixes
Pass the Volatile memory operand to ray tracing loads
Fix the loss of the Nontemporal memory operand on loads through a swizzle
Fix the missing stride error and the wrong XfbStride for arrays of 32-bit types in transform feedback buffers
Mangle buffer_reference types by block name, so overload resolution can tell them apart
Fix the format specifier for the 64-bit index in error messages. This corrects the output on 32-bit ARM and PowerPC.
Emit specialization constant && and || as OpSpecConstantOp
Fix error messages for identifiers and extension names that contain a % character
Emit OpSConvert instead of OpUConvert for specialization constants before SPIR-V 1.4
Fix member extension lists after the redeclaration of an instance-named built-in block
Record an extension that is used under #extension all : warn. This fixes an out-of-bounds index in the SPIR-V back end.
Guard against a non-symbol l-value base in lValueErrorCheck and rValueErrorCheck
Fix absolute include paths in DirStackFileIncluder
Fix the signed overflow in scanVersion for a large #version number
Require the Vulkan memory model for coherent or volatile buffer reference blocks, and for shadercallcoherent buffer references
Fix dropped memory semantics on stores for ++ and --, for built-ins that write out arguments, and for swizzle assignment
Pass the literal value of a spirv_literal operand in spirv_instruction with an instruction set
Fix the Uniform storage class for buffer_type uniform descriptors
Add a bounds check for the string operand in the SPIR-V disassembler
Fix the null dereference on a specialization constant expression in spirv_execution_mode_id
Initialize coopvecNV and longVector in the TType constructor for buffer_reference blocks
Fix the null dereference on the result type of cooperative vector and long vector built-in calls
Declare the RayTracingMotionBlurNV and RayTracingPositionFetchKHR capabilities for hit object instructions
Fix the out-of-bounds read in constant folding of mixed long vector and vector operands
Fix the null dereference on a non-symbol operand in coopMatMulAdd diagnostics
Reject truncated instructions in the SPIR-V disassembler
Fix the null dereference in makeEditable after a user variable takes the name of a built-in block member
Fix invalid SPIR-V for specialization constant initializers with debug information enabled
Saturate an out-of-range float-to-integer conversion in promoteConstantUnion
Fix 8-bit and 16-bit cross-type constructors with only the storage extensions enabled
Fix TType::deepCopy for SPIR-V type parameters
Keep the preprocessor elsetracker non-negative on an unmatched #endif. This fixes an out-of-bounds write.
Emit debug type information for the tensorLayoutNV and tensorViewNV types from GL_NV_cooperative_matrix2
Build
Do not pass -pthread to consumers of the glslang CMake targets