mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 00:33:51 +00:00
d7d0fd5dfe
735: Set descriptor set name when creating bind group r=kvark a=GabrielMajeri
**Description**
There is a [`TODO` in the code](a02a566841/wgpu-core/src/device/mod.rs (L1428)
) for setting the descriptor set name when creating a bind group. It was blocked on https://github.com/gfx-rs/gfx-extras/pull/5
**Testing**
Tested with examples from `wgpu-rs`.
Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com>
71 lines
1.9 KiB
TOML
71 lines
1.9 KiB
TOML
[package]
|
|
name = "wgpu-core"
|
|
version = "0.5.0"
|
|
authors = ["wgpu developers"]
|
|
edition = "2018"
|
|
description = "WebGPU core logic on gfx-hal"
|
|
homepage = "https://github.com/gfx-rs/wgpu"
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
keywords = ["graphics"]
|
|
license = "MPL-2.0"
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
default = []
|
|
trace = ["ron", "serde", "wgt/trace"]
|
|
replay = ["serde", "wgt/replay"]
|
|
|
|
[dependencies]
|
|
arrayvec = "0.5"
|
|
bitflags = "1.0"
|
|
copyless = "0.1"
|
|
fxhash = "0.2"
|
|
log = "0.4"
|
|
hal = { package = "gfx-hal", version = "0.5.2" }
|
|
gfx-backend-empty = "0.5"
|
|
parking_lot = "0.10"
|
|
peek-poke = "0.2"
|
|
raw-window-handle = { version = "0.3", optional = true }
|
|
ron = { version = "0.5", optional = true }
|
|
serde = { version = "1.0", features = ["serde_derive"], optional = true }
|
|
smallvec = "1"
|
|
spirv_headers = { version = "1.4.2" }
|
|
vec_map = "0.8.1"
|
|
|
|
[dependencies.naga]
|
|
git = "https://github.com/gfx-rs/naga"
|
|
rev = "e3aea9619865b16a24164d46ab29cca36ad7daf2"
|
|
|
|
[dependencies.gfx-descriptor]
|
|
git = "https://github.com/gfx-rs/gfx-extras"
|
|
rev = "438353c3f75368c12024ad2fc03cbeb15f351fd9"
|
|
|
|
[dependencies.gfx-memory]
|
|
git = "https://github.com/gfx-rs/gfx-extras"
|
|
rev = "438353c3f75368c12024ad2fc03cbeb15f351fd9"
|
|
|
|
[dependencies.wgt]
|
|
path = "../wgpu-types"
|
|
package = "wgpu-types"
|
|
version = "0.5"
|
|
features = ["peek-poke"]
|
|
|
|
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
|
gfx-backend-metal = { version = "0.5.4" }
|
|
gfx-backend-vulkan = { version = "0.5.6", optional = true }
|
|
|
|
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
|
|
gfx-backend-vulkan = { version = "0.5.6" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
gfx-backend-dx12 = { version = "0.5.6" }
|
|
gfx-backend-dx11 = { version = "0.5" }
|
|
gfx-backend-vulkan = { version = "0.5.8" }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "dragonfly", target_os = "freebsd"))'.dependencies]
|
|
battery = { version = "0.7", optional = true }
|
|
|
|
[dev-dependencies]
|
|
loom = "0.3"
|