Skip to content

v1.2.1

Choose a tag to compare

@ydah ydah released this 11 Aug 23:13
· 20 commits to main since this release

Added

  • Add reusable staging buffers to Queue#read_buffer and Queue#read_texture, together with a padded texture-readback example and guide.
  • Support WGSL override constants and omitted entry points across compute, vertex, and fragment pipeline stages.
  • Add a pinned wgpu-native v27.0.4.0 header fixture, ABI update tooling, and cross-platform native artifact verification.
  • Complete RBS and YARD coverage for the public API and expand acceptance coverage for typed buffers, descriptors, errors, timeouts, resource lifetimes, and GPU examples.

Changed

  • Centralize native capability metadata and validate enum, callback, struct, and function ABI expectations against the pinned wgpu-native release.
  • Make compute and rendering examples verify their results, and enforce documentation coverage, SDL3-free installation, release checks, and strict lavapipe GPU coverage in CI.

Fixed

  • Retain callbacks, user data, devices, and instances through dependent resource and pending-operation lifetimes, preventing use-after-free crashes after release, garbage collection, or timeout.
  • Reject out-of-bounds mapped ranges and prevent late buffer, queue, shader, and error-scope callbacks from corrupting completed operation state.
  • Preserve row padding and clean up temporary resources during buffer and texture readback, including repeated reads with caller-owned staging buffers.
  • Recover rendering loops from timed-out, outdated, and lost surface frames, report fatal acquisition states explicitly, and release every acquired texture and view.
  • Track adopted native handles in leak diagnostics and keep release operations idempotent across wrapper types.
  • Correct the isolated core-gem dependency path and make Windows native artifact checks independent of shell quoting.