mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 07:51:08 +01:00
style(CHANGELOG): run prettier (#8651)
This commit is contained in:
1 parent
8003fcbc4c
commit
225aa4d027
1 file changed
+5
-2
+5
-2
@@ -85,6 +85,7 @@ Multiview is also called view instancing in DX12 land or vertex amplification in
|
||||
Multiview has been reworked, adding support for Metal and DX12, and adding testing and validation to wgpu itself.
|
||||
This change also introduces a view bitmask, a new field in `RenderPassDescriptor` that allows a render pass to render to multiple non-adjacent layers
|
||||
when using the `SELECTIVE_MULTIVIEW` feature. Note that this also influences apps that don't use multiview, as they have to set this mask to `None`.
|
||||
|
||||
```diff
|
||||
- wgpu::RenderPassDescriptor {
|
||||
- label: None,
|
||||
@@ -102,6 +103,7 @@ when using the `SELECTIVE_MULTIVIEW` feature. Note that this also influences app
|
||||
+ multiview_mask: NonZero::new(3),
|
||||
+ }
|
||||
```
|
||||
|
||||
One other breaking change worth noting is that in WGSL `@builtin(view_index)` now requires a type of `u32`, where previously it required `i32`.
|
||||
|
||||
By @SupaMaggie70Incorporated in [#8206](https://github.com/gfx-rs/wgpu/pull/8206).
|
||||
@@ -154,16 +156,17 @@ By @cwfitzgerald in [#8579](https://github.com/gfx-rs/wgpu/pull/8579).
|
||||
- Allow `include_spirv!` and `include_spirv_raw!` macros to be used in constants and statics. By @clarfonthey in [#8250](https://github.com/gfx-rs/wgpu/pull/8250).
|
||||
- Added support for rendering onto multi-planar textures. By @noituri in [#8307](https://github.com/gfx-rs/wgpu/pull/8307).
|
||||
- Validation errors from `CommandEncoder::finish()` will report the label of the invalid encoder. By @kpreid in [#8449](https://github.com/gfx-rs/wgpu/pull/8449).
|
||||
- Corrected documentation of the minimum alignment of the *end* of a mapped range of a buffer (it is 4, not 8). By @kpreid in [#8450](https://github.com/gfx-rs/wgpu/pull/8450).
|
||||
- Corrected documentation of the minimum alignment of the _end_ of a mapped range of a buffer (it is 4, not 8). By @kpreid in [#8450](https://github.com/gfx-rs/wgpu/pull/8450).
|
||||
- `util::StagingBelt` now takes a `Device` when it is created instead of when it is used. By @kpreid in [#8462](https://github.com/gfx-rs/wgpu/pull/8462).
|
||||
- `wgpu_hal::vulkan::Texture` API changes to handle externally-created textures and memory more flexibly. By @s-ol in [#8512](https://github.com/gfx-rs/wgpu/pull/8512), [#8521](https://github.com/gfx-rs/wgpu/pull/8521).
|
||||
|
||||
#### Metal
|
||||
|
||||
- Add support for mesh shaders. By @SupaMaggie70Incorporated in [#8139](https://github.com/gfx-rs/wgpu/pull/8139)
|
||||
|
||||
#### Naga
|
||||
|
||||
- Prevent UB with invalid ray query calls on spirv. By @Vecvec in [#8390](https://github.com/gfx-rs/wgpu/pull/8390).
|
||||
- Prevent UB with invalid ray query calls on spirv. By @Vecvec in [#8390](https://github.com/gfx-rs/wgpu/pull/8390).
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
||||
Reference in new issue
Block a user