Page MenuHomeSolus

Update spirv-tools to 2021.1

Authored by YakoYakoYokuYoku on Apr 25 2021, 2:41 PM.
Referenced Files
F10748737: D10921.diff
Mon, May 15, 10:21 PM
F10737457: D10921.id26320.diff
Sat, May 13, 4:13 AM
F10737108: D10921.id26317.diff
Sat, May 13, 2:13 AM
F10736996: D10921.diff
Sat, May 13, 1:25 AM




  • 2021.1:
    • Support SPV_KHR_linkonce_odr, SPV_KHR_expect_assume.
    • Fixes for the VSCode language server extension.
    • Add validation for SPV_EXT_shader_atomic_float_min_max.
    • Add Vulkan Execution Scope checks.
    • Vulkan 64-bit OpAtomicStore check.
    • Add interpolate legalization pass.
  • 2020.7:
    • Support pending Intel extensions.
    • Remove WebGPU support.
    • Vulkan image gather constant component.
    • Add Vulkan PSB64 convert VUID.
    • Validate SPV_KHR_workgroup_memory_explicit_layout.
    • Validate VK_KHR_zero_initialize_workgroup_memory.
    • Add Vulkan image gather offset VUID.
    • Label Vulkan atomic semantics VUIDs.
    • Label VUID 04662.
    • Label VUID 04683.
    • Add Vulkan EXT builtins.
    • Validate Sampled=1 for Vulkan ImageQuerySizeLod, ImageQueryLevels, ImageQueryLod.
    • Add Vulkan Memory Scope VUs.
    • Add Vulkan Addressing Model check.
    • Vulkan atomic storage class.
    • Label standalone Vulkan VUID.
    • Add Vulkan decoration VUID.
    • Add Vulkan FP Mode VUID.
    • Fix Vulkan image sampled check.
    • Add Vulkan ForwardPointer VUID.
    • Add Vulkan ImageTexelPointer format check.
    • Add Vulkan Group Operation VUID.
    • Add first StandAlone VUID 04633.
    • Add Subgroup VUIDs.
    • Validate return type of OpImageRead.
    • Tighter validation of multisampled images.
    • Validate OpTypeImage Sampled values for environemnts.
    • Validate StorageImageMultisampled capability.
    • Add last TessLevelOuter and TessLevelInner VUID.
    • Add last ClipDistance and CullDistance VUID.
    • Add last ViewportIndex and Layer VUID.
    • Add last Position VUID.
    • Allow forward pointer to be used in types generally.
    • Mark module as modified if convert-to-half removes decorations.
    • Fix binding number calculation in DescriptorScalarReplacementPass.
    • Run DCE when SPV_KHR_shader_clock is used.
    • Set correct scope and line info for DebugValue.
    • Avoid integrity check failures caused by propagating line instructions.
    • Linker usability improvements.
    • Generate differentiated error codes for buffer oob checking.

Depends on D10920.

Signed-off-by: Martin Reboredo <>

Test Plan

Validated some SPIR-V shaders and built against shaderc.

Diff Detail

R2951 spirv-tools
Lint Not Applicable
Tests Not Applicable