Upgrade to MoltenVK 1.0.38 and Xcode 11 (#7)

This commit is contained in:
Johan Andersson 2019-11-06 22:06:10 +01:00 committed by GitHub
parent 3b0342709b
commit acc39d8a70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "ash-molten"
description = "Statically linked MoltenVK for Vulkan on Mac using Ash"
version = "0.2.0+37"
version = "0.2.1+38"
authors = ["Embark <opensource@embark-studios.com>", "Maik Klein <maik.klein@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View file

@ -8,6 +8,8 @@
`ash-molten` is built on top of [ash](https://github.com/MaikKlein/ash) and exposes a new entry point to statically link with [MoltenVK](https://github.com/KhronosGroup/MoltenVK).
Requires Xcode 11 and Mac OS 10.15 (Catalina) to compile.
## Why?
* You want to compile down to a single binary that doesn't need any enviroment variables to bet set.
@ -21,6 +23,7 @@
* `ash-molten` doesn't have access to the validation layers and thefore can not output any debug information.
## How?
```Rust
let entry = ash_molten::MoltenEntry::load().expect("Unable to load Molten");
let app_name = CString::new("Hello Static Molten").unwrap();

View file

@ -29,7 +29,7 @@ mod mac {
};
// MoltenVK git tagged release to use
let tag = "v1.0.37";
let tag = "v1.0.38";
let checkout_dir = Path::new(&std::env::var("OUT_DIR").expect("Couldn't find OUT_DIR"))
.join(format!("MoltenVK-{}", tag));