mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
Update winit, half, and smallvec; Release 0.18 (#1332)
update winit, half, and smallvec; release 0.18
This commit is contained in:
parent
de2ef70a77
commit
b245e6c4dc
@ -1,5 +1,11 @@
|
||||
# Unreleased
|
||||
|
||||
# Version 0.18.0 (2020-03-11)
|
||||
|
||||
- **Breaking** Update dependency `winit` 0.21 -> 0.22
|
||||
- Update dependency `half` 1.4 -> 1.5
|
||||
- Update dependency `smallvec` 0.6 -> 1.2
|
||||
|
||||
# Version 0.17.0 (2020-02-09)
|
||||
|
||||
- **Breaking** Swapchain::recreate_with_dimension() is now Swapchain::recreate_with_dimensions()
|
||||
|
@ -12,7 +12,7 @@ vulkano = { path = "../vulkano" }
|
||||
vulkano-shaders = { path = "../vulkano-shaders" }
|
||||
# The Vulkan library doesn't provide any functionality to create and handle windows, as
|
||||
# this would be out of scope. In order to open a window, we are going to use the `winit` crate.
|
||||
winit = "0.21"
|
||||
winit = "0.22"
|
||||
# The `vulkano_win` crate is the link between `vulkano` and `winit`. Vulkano doesn't know about winit,
|
||||
# and winit doesn't know about vulkano, so import a crate that will provide a link between the two.
|
||||
vulkano-win = { path = "../vulkano-win" }
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "vulkano-shaders"
|
||||
version = "0.17.0"
|
||||
version = "0.18.0"
|
||||
edition = "2018"
|
||||
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>", "The vulkano contributors"]
|
||||
repository = "https://github.com/vulkano-rs/vulkano"
|
||||
@ -21,7 +21,7 @@ quote = "1.0"
|
||||
proc-macro2 = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
vulkano = { version = "0.17", path = "../vulkano" }
|
||||
vulkano = { version = "0.18", path = "../vulkano" }
|
||||
|
||||
[features]
|
||||
shaderc-build-from-source = ["shaderc/build-from-source"]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "vulkano-win"
|
||||
version = "0.17.0"
|
||||
version = "0.18.0"
|
||||
edition = "2018"
|
||||
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>", "The vulkano contributors"]
|
||||
repository = "https://github.com/vulkano-rs/vulkano"
|
||||
@ -12,8 +12,8 @@ keywords = ["vulkan", "bindings", "graphics", "gpu", "rendering"]
|
||||
categories = ["rendering::graphics-api"]
|
||||
|
||||
[dependencies]
|
||||
winit = "0.21"
|
||||
vulkano = { version = "0.17.0", path = "../vulkano" }
|
||||
winit = "0.22"
|
||||
vulkano = { version = "0.18.0", path = "../vulkano" }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
metal = "0.17.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "vulkano"
|
||||
version = "0.17.0"
|
||||
version = "0.18.0"
|
||||
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>", "The vulkano contributors"]
|
||||
repository = "https://github.com/vulkano-rs/vulkano"
|
||||
description = "Safe wrapper for the Vulkan graphics API"
|
||||
@ -16,7 +16,7 @@ build = "build.rs"
|
||||
crossbeam = "0.7"
|
||||
fnv = "1.0"
|
||||
shared_library = "0.1"
|
||||
smallvec = "0.6"
|
||||
smallvec = "1.2"
|
||||
lazy_static = "1.4"
|
||||
vk-sys = { version = "0.5.1", path = "../vk-sys" }
|
||||
half = "1.4"
|
||||
half = "1.5"
|
||||
|
@ -41,7 +41,7 @@ impl<'a> SubmitSemaphoresWaitBuilder<'a> {
|
||||
/// Merges this builder with another builder.
|
||||
#[inline]
|
||||
pub fn merge(&mut self, mut other: SubmitSemaphoresWaitBuilder<'a>) {
|
||||
self.semaphores.extend(other.semaphores.drain());
|
||||
self.semaphores.extend(other.semaphores.drain(..));
|
||||
}
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ impl<'a> Into<SubmitCommandBufferBuilder<'a>> for SubmitSemaphoresWaitBuilder<'a
|
||||
fn into(mut self) -> SubmitCommandBufferBuilder<'a> {
|
||||
unsafe {
|
||||
let mut builder = SubmitCommandBufferBuilder::new();
|
||||
for sem in self.semaphores.drain() {
|
||||
for sem in self.semaphores.drain(..) {
|
||||
builder.add_wait_semaphore(sem,
|
||||
PipelineStages {
|
||||
// TODO: correct stages ; hard
|
||||
@ -68,7 +68,7 @@ impl<'a> Into<SubmitPresentBuilder<'a>> for SubmitSemaphoresWaitBuilder<'a> {
|
||||
fn into(mut self) -> SubmitPresentBuilder<'a> {
|
||||
unsafe {
|
||||
let mut builder = SubmitPresentBuilder::new();
|
||||
for sem in self.semaphores.drain() {
|
||||
for sem in self.semaphores.drain(..) {
|
||||
builder.add_wait_semaphore(sem);
|
||||
}
|
||||
builder
|
||||
|
Loading…
Reference in New Issue
Block a user