From 3894eca3be0103d6072300f07e76f0151e73bb40 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Thu, 10 Apr 2025 20:01:46 -0400 Subject: [PATCH] Add f16 to changelog --- CHANGELOG.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b65b691d5..728f25edc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -124,8 +124,7 @@ pub enum PollError { > > You will lose the ability to know exactly when a submission has completed, but `device.poll(Wait)` will behave the same as it does on native. -By @cwfitzgerald in [#6942](https://github.com/gfx-rs/wgpu/pull/6942). -By @cwfitzgerald in [#7030](https://github.com/gfx-rs/wgpu/pull/7030). +By @cwfitzgerald in [#6942](https://github.com/gfx-rs/wgpu/pull/6942) and [#7030](https://github.com/gfx-rs/wgpu/pull/7030). #### `wgpu::Device::start_capture` renamed, documented, and made unsafe @@ -220,6 +219,20 @@ To use it, enable the `noop` feature of `wgpu`, and either call `Device::noop()` By @kpreid in [#7063](https://github.com/gfx-rs/wgpu/pull/7063) and [#7342](https://github.com/gfx-rs/wgpu/pull/7342). +#### `SHADER_F16` feature is now available with naga shaders + +Previously this feature only allowed you to use `f16` on SPIR-V passthrough shaders. Now you can use it on all shaders, including WGSL, SPIR-V, and GLSL! + +```wgsl +enable f16; + +fn hello_world(a: f16) -> f16 { + return a + 1.0h; +} +``` + +By @FL33TW00D, @ErichDonGubler, and @cwfitzgerald in [#5701](https://github.com/gfx-rs/wgpu/pull/5701) + ### New Features #### General