update half & metal; fix couple of warnings; add missing changelog entries (#1364)

This commit is contained in:
Austin Johnson 2020-05-15 19:14:25 -05:00 committed by GitHub
parent 57c545d7ab
commit 4e3d38ac5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,7 @@
# Unreleased
- Added support for the physical storage buffer access.
# Version 0.5.1 (2020-02-09)
- Added support for `VK_EXT_full_screen_exclusive`

View File

@ -1,5 +1,8 @@
# Unreleased
- Update dependency `half` 1.5 -> 1.6
- Update MacOS dependency `metal` 0.17 -> 0.18
- Added additional checks around image/device compatibility.
- Fixed all warnings as of Rust 1.43.1
- Provides new API to fetch additional information of the Physical Device from the `PhysicalDeviceProperties2KHR` structure whenever it possible. In the current implementation only `subgroupSize` property is fetching. This interface can be extended in the future to obtain more metadata depending on community needs.
- `dynamic-local-size` compute shader example added showing how to utilize `subgroupSize` to compute and set shader's local size in run time.

View File

@ -16,6 +16,6 @@ winit = "0.22"
vulkano = { version = "0.18.0", path = "../vulkano" }
[target.'cfg(target_os = "macos")'.dependencies]
metal = "0.17.0"
metal = "0.18.0"
cocoa = "0.20.0"
objc = "0.2.7"

View File

@ -19,4 +19,4 @@ shared_library = "0.1"
smallvec = "1.2"
lazy_static = "1.4"
vk-sys = { version = "0.5.1", path = "../vk-sys" }
half = "1.5"
half = "1.6"

View File

@ -59,7 +59,7 @@ where
let entry_points = ptrs.entry_points();
let mut num = 0;
check_errors({ entry_points.EnumerateInstanceLayerProperties(&mut num, ptr::null_mut()) })?;
check_errors(entry_points.EnumerateInstanceLayerProperties(&mut num, ptr::null_mut()))?;
let mut layers: Vec<vk::LayerProperties> = Vec::with_capacity(num as usize);
check_errors({

View File

@ -225,7 +225,7 @@ pub fn auto_loader(
lazy_static! {
static ref DEFAULT_LOADER: Result<FunctionPointers<Box<dyn Loader + Send + Sync>>, LoadingError> =
{ def_loader_impl().map(FunctionPointers::new) };
def_loader_impl().map(FunctionPointers::new);
}
match DEFAULT_LOADER.deref() {