Fix descriptor size, bump versions

This commit is contained in:
Dzmitry Malyshau 2019-03-20 12:35:04 -04:00
parent 81114a8ca2
commit dc31e4bdd0
4 changed files with 10 additions and 10 deletions

14
Cargo.lock generated
View File

@ -320,8 +320,8 @@ name = "examples"
version = "0.1.0"
dependencies = [
"env_logger 0.5.13 (registry+https://github.com/rust-lang/crates.io-index)",
"wgpu 0.2.0",
"wgpu-native 0.2.3",
"wgpu 0.2.1",
"wgpu-native 0.2.4",
]
[[package]]
@ -498,7 +498,7 @@ dependencies = [
"env_logger 0.5.13 (registry+https://github.com/rust-lang/crates.io-index)",
"glsl-to-spirv 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"wgpu 0.2.0",
"wgpu 0.2.1",
]
[[package]]
@ -1384,10 +1384,10 @@ dependencies = [
[[package]]
name = "wgpu"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"wgpu-native 0.2.3",
"wgpu-native 0.2.4",
]
[[package]]
@ -1399,7 +1399,7 @@ dependencies = [
[[package]]
name = "wgpu-native"
version = "0.2.3"
version = "0.2.4"
dependencies = [
"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1425,7 +1425,7 @@ dependencies = [
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)",
"wgpu-native 0.2.3",
"wgpu-native 0.2.4",
]
[[package]]

View File

@ -1,6 +1,6 @@
[package]
name = "wgpu-native"
version = "0.2.3"
version = "0.2.4"
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",

View File

@ -1,6 +1,6 @@
[package]
name = "wgpu"
version = "0.2.0"
version = "0.2.1"
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",

View File

@ -323,7 +323,7 @@ impl Device {
} => wgn::BindingResource::Buffer(wgn::BufferBinding {
buffer: buffer.id,
offset: range.start,
size: range.end,
size: range.end - range.start,
}),
BindingResource::Sampler(ref sampler) => {
wgn::BindingResource::Sampler(sampler.id)