Skip to content

Commit

Permalink
Update erupt to 0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarumych committed Jun 21, 2022
1 parent 58b3f56 commit 847c9f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions erupt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gpu-descriptor-erupt"
version = "0.2.0"
version = "0.3.0"
authors = ["Zakarum <[email protected]>"]
edition = "2018"
description = "gpu-descriptor integration with erupt"
Expand All @@ -14,5 +14,5 @@ readme = "../README.md"
[dependencies]
gpu-descriptor-types = { path = "../types", version = "0.1" }
tracing = { version = "0.1", optional = true, default-features = false }
erupt = "0.19"
erupt = { version = "0.22", default-features = false }
smallvec = "1.0"
5 changes: 2 additions & 3 deletions erupt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ impl DescriptorDevice<vk1_0::DescriptorSetLayout, vk1_0::DescriptorPool, vk1_0::
&vk1_0::DescriptorPoolCreateInfoBuilder::default()
.max_sets(max_sets)
.pool_sizes(&array[..len])
.flags(erupt_flags)
.build(),
.flags(erupt_flags),
None,
)
.result();
Expand All @@ -147,7 +146,7 @@ impl DescriptorDevice<vk1_0::DescriptorSetLayout, vk1_0::DescriptorPool, vk1_0::
}

unsafe fn destroy_descriptor_pool(&self, pool: vk1_0::DescriptorPool) {
self.device.destroy_descriptor_pool(Some(pool), None)
self.device.destroy_descriptor_pool(pool, None)
}

unsafe fn alloc_descriptor_sets<'a>(
Expand Down

0 comments on commit 847c9f5

Please sign in to comment.