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
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,30 @@ One other breaking change worth noting is that in WGSL `@builtin(view_index)` no
106
106
107
107
By @SupaMaggie70Incorporated in [#8206](https://github.com/gfx-rs/wgpu/pull/8206).
108
108
109
+
#### Error Scopes are now thread-local
110
+
111
+
Device error scopes now operate on a per-thread basis. This allows them to be used easily within multithreaded contexts,
112
+
without having the error scope capture errors from other threads.
113
+
114
+
When the `std` feature is **not** enabled, we have no way to differentiate between threads, so error scopes return to be
115
+
global operations.
116
+
117
+
By @cwfitzgerald in [#8685](https://github.com/gfx-rs/wgpu/pull/8685)
118
+
119
+
#### Log Levels
120
+
121
+
We have received complaints about wgpu being way too log spammy at log levels `info`/`warn`/`error`. We have
122
+
adjusted our log policy and changed logging such that `info` and above should be silent unless some exceptional
123
+
event happens. Our new log policy is as follows:
124
+
125
+
- Error: if we can’t (for some reason, usually a bug) communicate an error any other way.
126
+
- Warning: similar, but there may be one-shot warnings about almost certainly sub-optimal.
127
+
- Info: do not use
128
+
- Debug: Used for interesting events happening inside wgpu.
129
+
- Trace: Used for all events that might be useful to either `wgpu` or application developers.
130
+
131
+
By @cwfitzgerald in [#8579](https://github.com/gfx-rs/wgpu/pull/8579).
132
+
109
133
### New Features
110
134
111
135
- Added support for transient textures on Vulkan and Metal. By @opstic in [#8247](https://github.com/gfx-rs/wgpu/pull/8247)
@@ -117,7 +141,6 @@ By @SupaMaggie70Incorporated in [#8206](https://github.com/gfx-rs/wgpu/pull/8206
117
141
#### General
118
142
119
143
- Require new enable extensions when using ray queries and position fetch (`wgpu_ray_query`, `wgpu_ray_query_vertex_return`). By @Vecvec in [#8545](https://github.com/gfx-rs/wgpu/pull/8545).
120
-
- Lower `max_blas_primitive_count` due to a bug in llvmpipe. By @Vecvec in [#8446](https://github.com/gfx-rs/wgpu/pull/8446).
121
144
- Texture now has `from_custom`. By @R-Cramer4 in [#8315](https://github.com/gfx-rs/wgpu/pull/8315).
122
145
- Using both the wgpu command encoding APIs and `CommandEncoder::as_hal_mut` on the same encoder will now result in a panic.
123
146
- 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).
0 commit comments