You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Bottom level categories:
42
42
43
43
### Major changes
44
44
45
-
#### 'wgpu::Instance::enumerate_adapters` is now `async` & available on WebGPU
45
+
#### `wgpu::Instance::enumerate_adapters` is now `async` & available on WebGPU
46
46
47
47
BREAKING CHANGE: `enumerate_adapters` is now `async`:
48
48
@@ -72,6 +72,7 @@ SamplerDescriptor {
72
72
...
73
73
}
74
74
```
75
+
75
76
### Changes
76
77
77
78
#### General
@@ -121,7 +122,7 @@ SamplerDescriptor {
121
122
122
123
#### Deferred command buffer actions: `map_buffer_on_submit` and `on_submitted_work_done`
123
124
124
-
You may schedule buffer mapping and a submission-complete callback to run automatically after you submit, directly from encoders, command buffers, and passes.
125
+
You may schedule buffer mapping and a submission-complete callback to run automatically after you submit, directly from encoders, command buffers, and passes.
125
126
126
127
```rust
127
128
// Record some GPU work so the submission isn't empty and touches `buffer`.
@@ -178,6 +179,7 @@ By @Vecvec in [#7913](https://github.com/gfx-rs/wgpu/pull/7913).
178
179
We have added `Features::EXPERIMENTAL_PRECOMPILED_SHADERS`, replacing existing passthrough types with a unified `CreateShaderModuleDescriptorPassthrough` which allows passing multiple shader codes for different backends. By @SupaMaggie70Incorporated in [#7834](https://github.com/gfx-rs/wgpu/pull/7834)
@@ -192,6 +194,7 @@ Difference for SPIR-V passthrough:
192
194
+ ..Default::default()
193
195
})
194
196
```
197
+
195
198
This allows using precompiled shaders without manually checking which backend's code to pass, for example if you have shaders precompiled for both DXIL and SPIR-V.
196
199
197
200
#### Buffer mapping apis no longer have lifetimes
@@ -228,7 +231,7 @@ By @cwfitzgerald in [#8163](https://github.com/gfx-rs/wgpu/pull/8163).
228
231
229
232
#### Multi-draw indirect is now unconditionally supported when indirect draws are supported
230
233
231
-
We have removed `Features::MULTI_DRAW_INDIRECT` as it was unconditionally available on all platforms.
234
+
We have removed `Features::MULTI_DRAW_INDIRECT` as it was unconditionally available on all platforms.
232
235
`RenderPass::multi_draw_indirect` is now available if the device supports downlevel flag `DownlevelFlags::INDIRECT_EXECUTION`.
233
236
234
237
If you are using spirv-passthrough with multi-draw indirect and `gl_DrawID`, you can know if `MULTI_DRAW_INDIRECT` is being emulated
@@ -265,8 +268,8 @@ Before/after for `wgpu::PollType::WaitForSubmissionIndex`:
265
268
266
269
⚠️ Previously, both `wgpu::PollType::WaitForSubmissionIndex` and `wgpu::PollType::Wait` had a hard-coded timeout of 60 seconds.
267
270
268
-
269
271
To wait indefinitely on the latest submission, you can also use the `wait_indefinitely` convenience function:
0 commit comments