Skip to content

v7.10.1

Choose a tag to compare

@github-actions github-actions released this 04 Dec 23:19
· 25 commits to dev since this release
41c7168

Changed

  • Builds against mirl 0.9.1 (#5156).

Fixed

  • On SPIR-V, a physical pointer indexed or stepped across records whose stride std430 does not keep is refused with spirv.interface at the index, as the same record in a run-time array of a storage block is. p[i] on a *Rec of rec Rec { a: f32x4; b: f32; } built with ArrayStride 20 where std430 strides the record by 32, so every element after the first was addressed at the wrong byte. Pad the record to its strictest member's alignment or raise it with #[align(16)]. A pointer that is only dereferenced still builds, and a physical pointer nothing indexes no longer carries an ArrayStride (#5156, briar-systems/mirl#908).
  • Stepping a physical pointer across records of no size builds a module Vulkan's validation accepts, where it emitted an OpPtrAccessChain through a pointer type with no ArrayStride (#5156, briar-systems/mirl#908).

Issues resolved (1)

  • #5156 SPIR-V: a physical pointer is indexed at a stride std430 refuses