Play around with webgpu

This commit is contained in:
Sijmen 2021-05-31 04:49:38 +02:00
parent dc95af56f2
commit e23c4549a2
Signed by: vijfhoek
GPG key ID: 82D05C89B28B0DAE
3 changed files with 10 additions and 4 deletions

7
.gitignore vendored
View file

@ -1,3 +1,4 @@
/target
flamegraph.svg
perf.data*
/target/
/generated/
/flamegraph.svg
/perf.data*

5
Cargo.lock generated
View file

@ -917,6 +917,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
"wasm-bindgen",
"web-sys",
]
[[package]]
@ -1900,6 +1903,8 @@ dependencies = [
"percent-encoding",
"raw-window-handle",
"scopeguard",
"wasm-bindgen",
"web-sys",
"winapi",
"x11-dl",
]

View file

@ -17,7 +17,7 @@ image = "0.23.14"
log = "0.4.14"
noise = "0.7.0"
wgpu = "0.8.1"
winit = { version = "0.25.0", default_features = false, features = ["x11"] }
winit = { version = "0.25.0", default_features = false, features = ["x11", "web-sys"] }
[profile.release]
debug = true