Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

1.0 KB
Raw Blame
[package]
name = "backend-wgpu"
version = "0.1.0"
edition = "2024"

[features]
renderdoc-capture = ["dep:renderdoc"]
hotpath = ["dep:hotpath", "hotpath/hotpath", "hotpath/crossbeam"]
# Write every compiled WGSL shader variant to cache/wgsl/ for debugging.
dump-wgsl = []
gx-stats = ["gecko/gx-stats"]

[dependencies]
wgpu = "29.0.3"
bytemuck = { version = "1.25.0", features = ["derive"] }
gecko = { path = "../gecko", default-features = false }
chapa = "0.1.2"
wesl = "0.3.2"
glam = { version = "0.33.7", features = ["bytemuck"] }
crossbeam-channel = "0.5.15"
tracing = "0.1.44"
rustc-hash = "2.1.2"
png = "0.18.1"
renderdoc = { version = "0.12.1", optional = true }
hotpath = { version = "0.16.0", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ddsfile = "0.6.0"
texture2ddecoder = "0.1.2"
walkdir = "2.5.0"
image-codec = { package = "image", version = "0.25.10", default-features = false, features = ["png"] }
twox-hash = { version = "2.1.4", default-features = false, features = ["xxhash64"] }