Skip to content

Commit

Permalink
Upgrade to wgpu 0.14, bump version, and switch to rust 2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Imberflur committed Nov 10, 2022
1 parent ad99639 commit d584304
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[package]
name = "wgpu-profiler"
version = "0.9.1"
version = "0.10.0"
authors = ["Andreas Reich <r_andreas2@web.de>"]
edition = "2018"
edition = "2021"
description = "Simple profiler scopes for wgpu using timer queries"
homepage = "https://github.com/Wumpf/wgpu-profiler"
repository = "https://github.com/Wumpf/wgpu-profiler"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
resolver="2"
resolver = "2"

[lib]

[dependencies]
wgpu = "0.13"
wgpu = "0.14.0"

[dev-dependencies]
winit = "0.26.0"
winit = "0.27.5"
futures-lite = "1"
#env_logger = "0.8.2"
1 change: 1 addition & 0 deletions examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ async fn run(event_loop: EventLoop<()>, window: Window) {
// By using the Fifo mode we ensure that CPU waits for GPU, thus we won't have an arbitrary amount of frames in flight that may be discarded.
// Profiler works just fine in any other mode, but keep in mind that this can mean that it would need to buffer up many more frames until the first results are back.
present_mode: wgpu::PresentMode::Fifo,
alpha_mode: wgpu::CompositeAlphaMode::Auto,
};

surface.configure(&device, &sc_desc);
Expand Down

0 comments on commit d584304

Please sign in to comment.