This release includes wgpu, wgpu-core, wgpu-hal, wgpu-types, and naga. All other crates are unchanged.
Added/New Features
General
wgpu::Idnow implementsPartialOrd/Ordallowing it to be put inBTreeMaps. By @cwfitzgerald and @9291Sam in #5176
OpenGL
- Log an error when OpenGL texture format heuristics fail. By @PolyMeilex in #5266
wgsl-out
Documentation
- Fix link in
wgpu::Instance::create_surfacedocumentation. By @HexoKnight in #5280. - Fix typo in
wgpu::CommandEncoder::clear_bufferdocumentation. By @PWhiddy in #5281. Surfaceconfiguration incorrectly claimed thatwgpu::Instance::create_surfacewas 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
cloneduring GLSL shader injestion. By @a1phyr in #5118. - Fix missing validation for
Device::clear_bufferwhereoffset + size > buffer.sizewas not checked whensizewas omitted. By @ErichDonGubler in #5282.
DX12
OpenGL
- Fix internal format for the
Etc2Rgba8Unormformat. By @andristarr in #5178 - Try to load
libX11.so.6in addition tolibX11.soon linux. #5307 - Make use of
GL_EXT_texture_shadow_lodto support sampling a cube depth texture with an explicit LOD. By @cmrschwarz in #5171.
glsl-in
- Fix code generation from nested loops. By @cwfitzgerald and @teoxoy in #5311