Texture and bind groups

This commit is contained in:
Guilherme Werner
2024-02-16 20:51:42 -03:00
parent d6d24ba408
commit 5ab47964e7
5 changed files with 169 additions and 26 deletions

View File

@ -18,12 +18,16 @@ path = "src/main.rs"
[dependencies]
anyhow = "1.0"
bytemuck = { version = "1.12", features = ["derive"] }
cfg-if = "1"
env_logger = "0.10"
log = "0.4"
wgpu = "0.18"
winit = "0.28"
bytemuck = { version = "1.12", features = ["derive"] }
image = { version = "0.24", default-features = false, features = [
"png",
"jpeg",
] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.36.0", features = ["full"] }
@ -34,4 +38,4 @@ console_log = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3", features = ["Document", "Window", "Element"] }
wgpu = { version = "0.18", features = ["webgl"] }
wgpu = { version = "0.18.0", features = ["webgl"] }