mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-26 00:41:33 +11:00
092c522b8e
13: dx12 support, finish depth image sample and more.. r=kvark a=msiglreith (The PR is a bit messy, my apologies 😅 ) * Add dx12 backend support, including switching to dylibs over static lib due to linking issues with windows libraries * Finish API sample 06 (depth image) by implementing vkBindImageMemory * Start with sample 07 with adding a simple math lib (copied from an older C++ engine of mine..) * Update `portable` branch to latest version <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/gfx-rs/portability/13) <!-- Reviewable:end --> |
||
---|---|---|
libportability | ||
libportability-gfx | ||
libportability-icd | ||
modules | ||
native | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
bors.toml | ||
Cargo.toml | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README.md |
gfx-portability
This is a prototype static library implementing Vulkan Portability Initiative using gfx-rs low-level core. See gfx-rs meta issue for backend limitations and further details.
Build
Makefile (Unix)
make
CMake (Window)
Build the Rust library (portability implementation):
cargo build --manifest-path libportability/Cargo.toml --features <vulkan|dx12>
Build the native example:
mkdir build
cd build
cmake ..
cmake --build . --target native_test