Skip to content

Commit

Permalink
Debug adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Oct 9, 2024
1 parent c678013 commit 03125ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/egui_kittest/src/wgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 03125ab

Please sign in to comment.