зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1785002 - Update gpu-descriptor to 0.2.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D154763
This commit is contained in:
Родитель
790d70c82e
Коммит
8fa0a0bced
|
@ -2368,13 +2368,13 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "gpu-descriptor"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a538f217be4d405ff4719a283ca68323cc2384003eca5baaa87501e821c81dda"
|
||||
checksum = "0b0c02e1ba0bdb14e965058ca34e09c020f8e507a760df1121728e0aef68d57a"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"gpu-descriptor-types",
|
||||
"hashbrown 0.11.999",
|
||||
"hashbrown 0.12.3",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -357,6 +357,11 @@ criteria = "safe-to-deploy"
|
|||
delta = "50.1.3 -> 51.0.1"
|
||||
notes = "Maintained by the Glean team at Mozilla"
|
||||
|
||||
[[audits.gpu-descriptor]]
|
||||
who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
delta = "0.2.2 -> 0.2.3"
|
||||
|
||||
[[audits.guid_win]]
|
||||
who = "Bobby Holley <bobbyholley@gmail.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"files":{"Cargo.toml":"d976119bb0d0cb436466bafaab547ac48dc2bdbb09147e567b01e28356c483b5","src/allocator.rs":"5f1a12cb92b1c3dbdb3e811c3415f9a96932590e49a3487f750aced2995fbee9","src/lib.rs":"86d91995ea56d2ccf12974cb28f02028d096e00acbe417b1acdaa0d7133ae9f2"},"package":"a538f217be4d405ff4719a283ca68323cc2384003eca5baaa87501e821c81dda"}
|
||||
{"files":{"Cargo.toml":"dfdf8bb8e5a78a8b8feff5d924bd3757fd1299fa015802314a89883036f20c80","src/allocator.rs":"d46bee4586b88a3a5988e59b3112da379a49688d7f12bd2716cebb9fa6076a7a","src/lib.rs":"6fb74a08ad9975e561f4fca7bd391f0cbd96a7cab79b17df7d979021099b50f9"},"package":"0b0c02e1ba0bdb14e965058ca34e09c020f8e507a760df1121728e0aef68d57a"}
|
|
@ -12,15 +12,20 @@
|
|||
[package]
|
||||
edition = "2018"
|
||||
name = "gpu-descriptor"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
authors = ["Zakarum <zakarumych@ya.ru>"]
|
||||
description = "Implementation agnostic descriptor allocator for Vulkan like APIs"
|
||||
homepage = "https://github.com/zakarumych/gpu-descriptor"
|
||||
documentation = "https://docs.rs/gpu-descriptor"
|
||||
readme = "../README.md"
|
||||
keywords = ["gpu", "vulkan", "no-std"]
|
||||
keywords = [
|
||||
"gpu",
|
||||
"vulkan",
|
||||
"no-std",
|
||||
]
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/zakarumych/gpu-descriptor"
|
||||
|
||||
[dependencies.bitflags]
|
||||
version = "1.2"
|
||||
default-features = false
|
||||
|
@ -29,7 +34,7 @@ default-features = false
|
|||
version = "0.1"
|
||||
|
||||
[dependencies.hashbrown]
|
||||
version = "0.11"
|
||||
version = "0.12"
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0"
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,35 +1,35 @@
|
|||
//!
|
||||
//! Library for Vulkan-like APIs to allocated descriptor sets
|
||||
//! from descriptor pools fast, with least overhead and zero fragmentation.
|
||||
//!
|
||||
//! Straightforward usage:
|
||||
//! ```ignore
|
||||
//! use gpu_descriptor::DescriptorAllocator;
|
||||
//!
|
||||
//! let mut allocator = DescriptorAllocator::new(max_update_after_bind_descriptors_in_all_pools); // Limit as dictated by API for selected hardware
|
||||
//!
|
||||
//! let result = allocator.allocate(
|
||||
//! device, // Implementation of `gpu_descriptor::DescriptorDevice`. Comes from plugins.
|
||||
//! layout, // Descriptor set layout recognized by device's type.
|
||||
//! flags, // Flags specified when layout was created.
|
||||
//! layout_descriptor_count, // Descriptors count in the layout.
|
||||
//! count, // count of sets to allocated.
|
||||
//! );
|
||||
//! ```
|
||||
//!
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![warn(
|
||||
missing_docs,
|
||||
trivial_casts,
|
||||
trivial_numeric_casts,
|
||||
unused_extern_crates,
|
||||
unused_import_braces,
|
||||
unused_qualifications
|
||||
)]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
mod allocator;
|
||||
|
||||
pub use {crate::allocator::*, gpu_descriptor_types::*};
|
||||
//!
|
||||
//! Library for Vulkan-like APIs to allocated descriptor sets
|
||||
//! from descriptor pools fast, with least overhead and zero fragmentation.
|
||||
//!
|
||||
//! Straightforward usage:
|
||||
//! ```ignore
|
||||
//! use gpu_descriptor::DescriptorAllocator;
|
||||
//!
|
||||
//! let mut allocator = DescriptorAllocator::new(max_update_after_bind_descriptors_in_all_pools); // Limit as dictated by API for selected hardware
|
||||
//!
|
||||
//! let result = allocator.allocate(
|
||||
//! device, // Implementation of `gpu_descriptor::DescriptorDevice`. Comes from plugins.
|
||||
//! layout, // Descriptor set layout recognized by device's type.
|
||||
//! flags, // Flags specified when layout was created.
|
||||
//! layout_descriptor_count, // Descriptors count in the layout.
|
||||
//! count, // count of sets to allocated.
|
||||
//! );
|
||||
//! ```
|
||||
//!
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![warn(
|
||||
missing_docs,
|
||||
trivial_casts,
|
||||
trivial_numeric_casts,
|
||||
unused_extern_crates,
|
||||
unused_import_braces,
|
||||
unused_qualifications
|
||||
)]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
mod allocator;
|
||||
|
||||
pub use {crate::allocator::*, gpu_descriptor_types::*};
|
||||
|
|
Загрузка…
Ссылка в новой задаче