portability/README.md

28 lines
804 B
Markdown
Raw Normal View History

2017-09-07 12:01:58 +10:00
## gfx-portability
[![Build Status](https://travis-ci.org/gfx-rs/portability.svg?branch=master)](https://travis-ci.org/gfx-rs/portability)
2017-09-07 12:01:58 +10:00
2017-09-13 02:27:01 +10:00
This is a prototype static library implementing [Vulkan Portability Initiative](https://www.khronos.org/blog/khronos-announces-the-vulkan-portability-initiative) using gfx-rs [low-level core](http://gfx-rs.github.io/2017/07/24/low-level.html). See gfx-rs [meta issue](https://github.com/gfx-rs/gfx/issues/1354) for backend limitations and further details.
2017-12-08 08:29:14 +11:00
## Build
### Makefile (Unix)
```
make
```
### CMake (Window)
Build the Rust library (portability implementation):
```
cargo build --manifest-path libportability/Cargo.toml --features <vulkan|dx12>
2017-12-08 08:29:14 +11:00
```
Build the native example:
```
mkdir build
cd build
cmake ..
cmake --build . --target native_test
```