Bump the descriptor pool size

This commit is contained in:
Dzmitry Malyshau committed 2019-03-20 12:10:29 -04:00
1 parent 2a929b12a4
commit 11ac80d1ec
4 files changed
+13 -10

No files matched your search

+4 -1
View File
@@ -1,8 +1,11 @@
# Change Log
## v0.2.2 (19-03-2019)
## v0.2.3 (20-03-2019)
- fixed vertex format mapping
- fixed building with "empty" backend on Windows
- bumped the default descriptor pool size
- fixed host mapping aligments
- validating the uniform buffer offset
## v0.2 (06-03-2019)
- Platforms: iOS/Metal, D3D11
Generated
+4 -4
View File
@@ -321,7 +321,7 @@ 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.2",
"wgpu-native 0.2.3",
]
[[package]]
@@ -1387,7 +1387,7 @@ name = "wgpu"
version = "0.2.0"
dependencies = [
"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"wgpu-native 0.2.2",
"wgpu-native 0.2.3",
]
[[package]]
@@ -1399,7 +1399,7 @@ dependencies = [
[[package]]
name = "wgpu-native"
version = "0.2.2"
version = "0.2.3"
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.2",
"wgpu-native 0.2.3",
]
[[package]]
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "wgpu-native"
version = "0.2.2"
version = "0.2.3"
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",
+4 -4
View File
@@ -398,7 +398,7 @@ impl<B: hal::Backend> Device<B> {
let desc_pool = Mutex::new(
unsafe {
raw.create_descriptor_pool(
100,
10000,
&[
hal::pso::DescriptorRangeDesc {
ty: hal::pso::DescriptorType::Sampler,
@@ -406,15 +406,15 @@ impl<B: hal::Backend> Device<B> {
},
hal::pso::DescriptorRangeDesc {
ty: hal::pso::DescriptorType::SampledImage,
count: 100,
count: 1000,
},
hal::pso::DescriptorRangeDesc {
ty: hal::pso::DescriptorType::UniformBuffer,
count: 100,
count: 10000,
},
hal::pso::DescriptorRangeDesc {
ty: hal::pso::DescriptorType::StorageBuffer,
count: 100,
count: 1000,
},
],
)