Skip to content

v0.9.0 - Sampler types, swizzle, dev tools

Choose a tag to compare

@kolkov kolkov released this 30 Jan 03:02
· 99 commits to main since this release
c7548e8

Added

Sampler Types

  • sampler and sampler_comparison type support
  • Lazy sampler type registration

Swizzle Support

  • Full vector swizzle via OpVectorShuffle

Struct Member Bindings

  • @builtin/@location on struct members
  • hasPositionBuiltin validation

SPIR-V Development Tools

  • cmd/spvdis — SPIR-V disassembler
  • cmd/texture_compile — texture shader compile tool

Fixed

  • Block decoration for uniform/storage structs (Vulkan compliance)
  • Member offset ordering in SPIR-V
  • Pointer/value semantics for entry points
  • Uniform buffer alignment

Full Changelog

https://github.com/gogpu/naga/blob/main/CHANGELOG.md