Skip to content

Commit

Permalink
Upgrade wgpu to 0.20.0 for real (#745)
Browse files Browse the repository at this point in the history
* Upgrade `wgpu` to `0.20.0` for real

* Update lockfile

* Try removing COPY_DST from the 'normal' buffer type

* Wait, why is this working
  • Loading branch information
dfellis committed Jun 10, 2024
1 parent a9d5e01 commit a92c75d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ edition = "2021"
[dependencies]
flume = "0.11.0"
futures = "0.3.30"
wgpu = "0.19.4"
# wgpu = { version = "0.20.0", features = ["trace"] }"#;
wgpu = "0.20.0""#;
let cargo_path = {
let mut c = project_dir.clone();
c.push("Cargo.toml");
Expand Down
2 changes: 1 addition & 1 deletion src/std/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ fn gpu_run(g: &mut GPU, gg: &mut GPGPU) {
layout: None,
module: &module,
entry_point: &gg.entrypoint,
// compilation_options: wgpu::PipelineCompilationOptions::default(),
compilation_options: wgpu::PipelineCompilationOptions::default(),
});
let mut bind_groups = Vec::new();
let mut encoder = g
Expand Down

0 comments on commit a92c75d

Please sign in to comment.