File tree Expand file tree Collapse file tree 4 files changed +1372
-821
lines changed Expand file tree Collapse file tree 4 files changed +1372
-821
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,15 @@ Bottom level categories:
56
56
- Rename ` instance_id ` and ` instance_custom_index ` to ` instance_index ` and ` instance_custom_data ` by @Vecvec in
57
57
[ #6780 ] ( https://github.com/gfx-rs/wgpu/pull/6780 )
58
58
59
+ ##### Split up ` Features ` internally
60
+
61
+ Internally split up the ` Features ` struct and recombine them internally using a macro. There should be no breaking
62
+ changes from this. This means there are also namespaces (as well as the old ` Features::* ` ) for all wgpu specific
63
+ features and webgpu feature (` FeaturesWGPU ` and ` FeaturesWebGPU ` respectively) and ` Features::from_internal_flags ` which
64
+ allow you to be explicit about whether features you need are available on the web too.
65
+
66
+ By @Vecvec in [ #6905 ] ( https://github.com/gfx-rs/wgpu/pull/6905 ) .
67
+
59
68
##### Refactored internal trace path parameter
60
69
61
70
Refactored some functions to handle the internal trace path as a string to avoid possible issues with ` no_std ` support.
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ async fn request_device_error_message() {
119
119
let expected = "TypeError" ;
120
120
} else {
121
121
// This message appears whenever wgpu-core is used as the implementation.
122
- let expected = "Unsupported features were requested: Features( " ;
122
+ let expected = "Unsupported features were requested: Features { " ;
123
123
}
124
124
}
125
125
assert ! ( device_error. contains( expected) , "{device_error}" ) ;
You can’t perform that action at this time.
0 commit comments