mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
update half & metal; fix couple of warnings; add missing changelog entries (#1364)
This commit is contained in:
parent
57c545d7ab
commit
4e3d38ac5b
@ -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`
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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({
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user