This release includes wgpu-core, wgpu-hal, and wgpu-types. The crate wgpu is still at 0.13.1.
Bug Fixes
General
- Prefer
DeviceType::DiscreteGpuoverDeviceType::OtherforPowerPreference::LowPowerso Vulkan is preferred over OpenGL again by @Craig-Macomber in #2853 - Allow running
get_texture_format_featureson unsupported texture formats (returning no flags) by @cwfitzgerald in #2856 - Allow multi-sampled textures that are supported by the device but not WebGPU if
TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURESis enabled by @cwfitzgerald in #2856 get_texture_format_featuresonly lists the COPY_* usages if the adapter actually supports that usage by @cwfitzgerald in #2856- Fix bind group / pipeline deduplication not taking into account RenderBundle execution resetting these values by @shoebe #2867
- Fix panics that occur when using
as_halfunctions when the hal generic type does not match the hub being looked up in by @i509VCB #2871 - Add some validation in map_async by @nical in #2876
- Fix bugs when mapping/unmapping zero-sized buffers and ranges by @nical in #2877
DX12
DownlevelCapabilities::default()now returns theANISOTROPIC_FILTERINGflag set to true so DX12 listsANISOTROPIC_FILTERINGas true again by @cwfitzgerald in #2851- Properly query format features for UAV/SRV usages of depth formats by @cwfitzgerald in #2856
GLES
- Fix depth stencil texture format capability by @jinleili in #2854
get_texture_format_featuresnow only returns usages for formats it actually supports by @cwfitzgerald in #2856
Hal
- Allow access to queue family index in Vulkan hal by @i509VCB in #2859
- Allow access to the EGLDisplay and EGLContext pointer in Gles hal Adapter and Device by @i509VCB in #2860
Documentation
- Update present_mode docs as most of them don't automatically fall back to Fifo anymore. by @Elabajaba in #2855