Page MenuHomeSolus

Update spirv-tools to 2021.1
ClosedPublic

Authored by YakoYakoYokuYoku on Sun, Apr 25, 2:41 PM.

Details

Summary

Changelog:

  • 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 <yakoyoku@gmail.com>

Test Plan

Validated some SPIR-V shaders and built against shaderc.

Diff Detail

Repository
R2951 spirv-tools
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

YakoYakoYokuYoku requested review of this revision.Sun, Apr 25, 2:41 PM
JoshStrobl accepted this revision.Sun, Apr 25, 3:14 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Sun, Apr 25, 3:14 PM
This revision was automatically updated to reflect the committed changes.