From 03125ab1fe15ac787311ecd78c6a5dfb2745ce5b Mon Sep 17 00:00:00 2001 From: Lucas Meurer Date: Wed, 9 Oct 2024 15:13:29 +0200 Subject: [PATCH] Debug adapters --- crates/egui_kittest/src/wgpu.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/egui_kittest/src/wgpu.rs b/crates/egui_kittest/src/wgpu.rs index ef3d8f6cdd28..91d61d113f3f 100644 --- a/crates/egui_kittest/src/wgpu.rs +++ b/crates/egui_kittest/src/wgpu.rs @@ -23,6 +23,11 @@ impl TestRenderer { let instance = wgpu::Instance::new(InstanceDescriptor::default()); let adapters = instance.enumerate_adapters(Backends::all()); + + for x in &adapters { + dbg!(x.get_info()); + } + let adapter = adapters.first().expect("No adapter found"); let (device, queue) = pollster::block_on(adapter.request_device(