mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-10-30 05:52:44 +00:00
Update various dependencies (#1483)
This commit is contained in:
parent
bcdbd35ec9
commit
4a98caacbf
@ -10,6 +10,14 @@
|
||||
- Fixed potential stack overflow error in loading large shaders by storing the bytecode as static.
|
||||
- Fixed descriptor set layouts with arrays containing more than one element triggering unreachable code.
|
||||
- Added basic support and safety checks for dynamic uniform/storage buffers
|
||||
- Updated dependencies:
|
||||
- `crossbeam` 0.7 -> 0.8
|
||||
- `half` 1.6 -> 1.7
|
||||
- `shaderc` 0.6 -> 0.7
|
||||
- `smallvec` 1.4 -> 1.6
|
||||
- `cgmath` 0.17 -> 0.18 (for examples)
|
||||
- `png` 0.15 -> 0.16 (for examples)
|
||||
- `time` 0.1 -> 0.2 (for examples)
|
||||
|
||||
# Version 0.20.0 (2020-12-26)
|
||||
|
||||
|
@ -17,8 +17,8 @@ winit = "0.24"
|
||||
# and winit doesn't know about vulkano, so import a crate that will provide a link between the two.
|
||||
vulkano-win = { path = "../vulkano-win" }
|
||||
|
||||
cgmath = "0.17"
|
||||
png = "0.15.0"
|
||||
time = "0.1.38"
|
||||
serde = { version="1.0.114", features = ["derive"] }
|
||||
ron = "0.6.0"
|
||||
cgmath = "0.18"
|
||||
png = "0.16"
|
||||
time = "0.2"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
ron = "0.6"
|
||||
|
@ -208,7 +208,7 @@ fn main() {
|
||||
0.01,
|
||||
100.0,
|
||||
);
|
||||
let view = Matrix4::look_at(
|
||||
let view = Matrix4::look_at_rh(
|
||||
Point3::new(0.3, 0.3, 1.0),
|
||||
Point3::new(0.0, 0.0, 0.0),
|
||||
Vector3::new(0.0, -1.0, 0.0),
|
||||
|
@ -15,10 +15,10 @@ categories = ["rendering::graphics-api"]
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
shaderc = "0.6"
|
||||
syn = { version = "1.0", features = ["full", "extra-traits"] }
|
||||
quote = "1.0"
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
shaderc = "0.7"
|
||||
syn = { version = "1.0", features = ["full", "extra-traits"] }
|
||||
|
||||
[dev-dependencies]
|
||||
vulkano = { version = "0.20.0", path = "../vulkano" }
|
||||
|
@ -13,11 +13,11 @@ readme = "../README.md"
|
||||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
crossbeam = "0.7"
|
||||
crossbeam = "0.8"
|
||||
fnv = "1.0"
|
||||
shared_library = "0.1"
|
||||
smallvec = "1.4"
|
||||
half = "1.7"
|
||||
lazy_static = "1.4"
|
||||
parking_lot = { version = "0.11.1", features = ["send_guard"] }
|
||||
shared_library = "0.1"
|
||||
smallvec = "1.6"
|
||||
vk-sys = { version = "0.5.3", path = "../vk-sys" }
|
||||
half = "1.6"
|
||||
parking_lot = { version = "0.11.1", features = ["send_guard"] }
|
@ -123,7 +123,7 @@ unsafe impl CommandPool for Arc<StandardCommandPool> {
|
||||
};
|
||||
|
||||
for _ in 0..count as usize {
|
||||
if let Ok(cmd) = existing.pop() {
|
||||
if let Some(cmd) = existing.pop() {
|
||||
output.push(StandardCommandPoolBuilder {
|
||||
inner: StandardCommandPoolAlloc {
|
||||
cmd: ManuallyDrop::new(cmd),
|
||||
|
@ -228,7 +228,7 @@ unsafe impl DescriptorPool for LocalPool {
|
||||
// Try to extract a descriptor from the current pool if any exist.
|
||||
// This is the most common case.
|
||||
if let Some(ref mut current_pool) = self.current_pool {
|
||||
if let Ok(already_existing_set) = current_pool.reserve.pop() {
|
||||
if let Some(already_existing_set) = current_pool.reserve.pop() {
|
||||
return Ok(LocalPoolAlloc {
|
||||
actual_alloc: Some(already_existing_set),
|
||||
pool: current_pool.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user