Skip to content

Commit

Permalink
add logging of adapter info
Browse files Browse the repository at this point in the history
  • Loading branch information
Kl4rry committed Jan 25, 2024
1 parent 7f9ad50 commit 55cd8c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl WindowHandler {

#[cfg(windows)]
let instance_descriptor = wgpu::InstanceDescriptor {
backends: wgpu::Backends::GL,
backends: wgpu::Backends::VULKAN,
..Default::default()
};

Expand All @@ -90,6 +90,8 @@ impl WindowHandler {
.await
.unwrap();

println!("{:#?}", adapter.get_info());

let limits = wgpu::Limits::default();
let (device, queue) = adapter
.request_device(
Expand Down

0 comments on commit 55cd8c5

Please sign in to comment.