Skip to content

v0.30.30 — memory leak fix: validation maps pinned resources per frame

Choose a tag to compare

@kolkov kolkov released this 31 Jul 04:59
8eb08aa

Fixed

  • Memory leak: validation maps pinned every resource per frameSetBindGroup copied every bound buffer/texture into encoder maps per draw call. Maps never cleared after Submit/Release, pinning BindGroup objects indefinitely. Now tracks bind groups only; validation walks boundBuffers/boundTextures transitively. Contributor: @samyfodil (#291)

  • Validation error precedence — buffer/texture errors now deterministically beat bind group errors regardless of map iteration order. Matches Rust wgpu ordering.