Update ash to 0.37 (#2557)

This commit is contained in:
Alphyr 2022-03-28 07:15:58 +02:00 committed by GitHub
parent 4896dee101
commit d45e6b4119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 6 deletions

View File

@ -8,7 +8,7 @@ on:
env:
RUST_BACKTRACE: 1
RUST_VERSION: 1.53
RUST_VERSION: 1.59
# We distinguish the following kinds of builds:
# - local: build for the same target as we compile on, and do local tests

4
Cargo.lock generated
View File

@ -52,9 +52,9 @@ dependencies = [
[[package]]
name = "ash"
version = "0.35.0+1.2.203"
version = "0.37.0+1.3.209"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a7638ce84f8c84d6fd6faa63aa267574d345181ba591c0eeb5550d4c30cd600"
checksum = "006ca68e0f2b03f22d6fa9f2860f85aed430d257fec20f8879b2145e7c7ae1a6"
dependencies = [
"libloading",
]

View File

@ -31,7 +31,7 @@ For an overview of all the components in the gfx-rs ecosystem, see [the big pict
### MSRV policy
Minimum Supported Rust Version is **1.53**.
Minimum Supported Rust Version is **1.59**.
It is enforced on CI (in "/.github/workflows/ci.yml") with `RUST_VERSION` variable.
This version can only be upgraded in breaking releases.

View File

@ -8,6 +8,7 @@ homepage = "https://github.com/gfx-rs/wgpu"
repository = "https://github.com/gfx-rs/wgpu"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
rust-version = "1.59"
[lib]
@ -46,7 +47,7 @@ block = { version = "0.1", optional = true }
foreign-types = { version = "0.3", optional = true }
# backend: Vulkan
ash = { version = "0.35", optional = true }
ash = { version = "0.37", optional = true }
gpu-alloc = { version = "0.5", optional = true }
gpu-descriptor = { version = "0.2", optional = true }
inplace_it = { version ="0.3.3", optional = true }

View File

@ -138,7 +138,7 @@ impl super::Instance {
flags: crate::InstanceFlags,
) -> Result<Vec<&'static CStr>, crate::InstanceError> {
let instance_extensions = entry
.enumerate_instance_extension_properties()
.enumerate_instance_extension_properties(None)
.map_err(|e| {
log::info!("enumerate_instance_extension_properties: {:?}", e);
crate::InstanceError