We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c05dbf commit 402a479Copy full SHA for 402a479
wgpu-hal/src/metal/mod.rs
@@ -309,11 +309,19 @@ struct PrivateDisabilities {
309
broken_layered_clear_image: bool,
310
}
311
312
-#[derive(Debug, Default)]
+#[derive(Debug)]
313
struct Settings {
314
retain_command_buffer_references: bool,
315
316
317
+impl Default for Settings {
318
+ fn default() -> Self {
319
+ Self {
320
+ retain_command_buffer_references: true,
321
+ }
322
323
+}
324
+
325
struct AdapterShared {
326
device: Mutex<metal::Device>,
327
disabilities: PrivateDisabilities,
0 commit comments