Log backend and device (GPU model) when initializing
This commit is contained in:
parent
1b3e475318
commit
953a152c97
|
|
@ -59,7 +59,7 @@ impl MvuApp<Model> for App {
|
||||||
})
|
})
|
||||||
.await
|
.await
|
||||||
.expect("Failed to find an appropriate adapter");
|
.expect("Failed to find an appropriate adapter");
|
||||||
eprintln!("Using {}", adapter.get_info().name);
|
info!("Using {} backend with {}", adapter.get_info().backend, adapter.get_info().name);
|
||||||
|
|
||||||
let (device, queue) = adapter
|
let (device, queue) = adapter
|
||||||
.request_device(&wgpu::DeviceDescriptor {
|
.request_device(&wgpu::DeviceDescriptor {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue