mirror of
https://github.com/italicsjenga/ash-molten.git
synced 2024-12-23 13:21:30 +11:00
Upgrade to MoltenVK 1.0.38 and Xcode 11 (#7)
This commit is contained in:
parent
3b0342709b
commit
acc39d8a70
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ash-molten"
|
name = "ash-molten"
|
||||||
description = "Statically linked MoltenVK for Vulkan on Mac using Ash"
|
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>"]
|
authors = ["Embark <opensource@embark-studios.com>", "Maik Klein <maik.klein@embark-studios.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -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).
|
`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?
|
## Why?
|
||||||
|
|
||||||
* You want to compile down to a single binary that doesn't need any enviroment variables to bet set.
|
* 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.
|
* `ash-molten` doesn't have access to the validation layers and thefore can not output any debug information.
|
||||||
|
|
||||||
## How?
|
## How?
|
||||||
|
|
||||||
```Rust
|
```Rust
|
||||||
let entry = ash_molten::MoltenEntry::load().expect("Unable to load Molten");
|
let entry = ash_molten::MoltenEntry::load().expect("Unable to load Molten");
|
||||||
let app_name = CString::new("Hello Static Molten").unwrap();
|
let app_name = CString::new("Hello Static Molten").unwrap();
|
||||||
|
|
2
build.rs
2
build.rs
|
@ -29,7 +29,7 @@ mod mac {
|
||||||
};
|
};
|
||||||
|
|
||||||
// MoltenVK git tagged release to use
|
// 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"))
|
let checkout_dir = Path::new(&std::env::var("OUT_DIR").expect("Couldn't find OUT_DIR"))
|
||||||
.join(format!("MoltenVK-{}", tag));
|
.join(format!("MoltenVK-{}", tag));
|
||||||
|
|
Loading…
Reference in a new issue