Skip to content

v0.19.2

Compare
Choose a tag to compare
@cwfitzgerald cwfitzgerald released this 29 Feb 22:33
· 425 commits to trunk since this release
61d779d

This release includes wgpu, wgpu-core, wgpu-hal, wgpu-types, and naga. All other crates are unchanged.

Added/New Features

General

OpenGL

  • Log an error when OpenGL texture format heuristics fail. By @PolyMeilex in #5266

wgsl-out

  • Learned to generate acceleration structure types. By @JMS55 in #5261

Documentation

  • Fix link in wgpu::Instance::create_surface documentation. By @HexoKnight in #5280.
  • Fix typo in wgpu::CommandEncoder::clear_buffer documentation. By @PWhiddy in #5281.
  • Surface configuration incorrectly claimed that wgpu::Instance::create_surface was unsafe. By @hackaugusto in #5265.

Bug Fixes

General

  • Device lost callbacks are invoked when replaced and when global is dropped. By @bradwerth in #5168
  • Fix performance regression when allocating a large amount of resources of the same type. By @nical in #5229
  • Fix docs.rs wasm32 builds. By @cwfitzgerald in #5310
  • Improve error message when binding count limit hit. By @hackaugusto in #5298
  • Remove an unnecessary clone during GLSL shader injestion. By @a1phyr in #5118.
  • Fix missing validation for Device::clear_buffer where offset + size > buffer.size was not checked when size was omitted. By @ErichDonGubler in #5282.

DX12

  • Fix panic! when dropping Instance without InstanceFlags::VALIDATION. By @hakolao in #5134

OpenGL

  • Fix internal format for the Etc2Rgba8Unorm format. By @andristarr in #5178
  • Try to load libX11.so.6 in addition to libX11.so on linux. #5307
  • Make use of GL_EXT_texture_shadow_lod to support sampling a cube depth texture with an explicit LOD. By @cmrschwarz in #5171.

glsl-in