mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Add f16 to changelog
This commit is contained in:
parent
47bc85f884
commit
e5a2e440b2
17
CHANGELOG.md
17
CHANGELOG.md
@ -130,8 +130,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.
|
> 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 [#6942](https://github.com/gfx-rs/wgpu/pull/6942) and [#7030](https://github.com/gfx-rs/wgpu/pull/7030).
|
||||||
By @cwfitzgerald in [#7030](https://github.com/gfx-rs/wgpu/pull/7030).
|
|
||||||
|
|
||||||
#### `wgpu::Device::start_capture` renamed, documented, and made unsafe
|
#### `wgpu::Device::start_capture` renamed, documented, and made unsafe
|
||||||
|
|
||||||
@ -226,6 +225,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).
|
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
|
### New Features
|
||||||
|
|
||||||
#### General
|
#### General
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user