mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Add f16 to changelog
This commit is contained in:
1 parent
28c1a0eae4
commit
3894eca3be
1 file changed
+15
-2
+15
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user