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
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