diff --git a/Cargo.lock b/Cargo.lock index 6e66ac7..e9f2e42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -310,7 +310,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "gfx-backend-dx11" version = "0.1.1" -source = "git+https://github.com/gfx-rs/gfx#23408ba607ac36722e0cf21e9d8d928b25509ecd" +source = "git+https://github.com/gfx-rs/gfx#5b84957d47592969507fb9e9b69810af13098819" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "derivative 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -328,7 +328,7 @@ dependencies = [ [[package]] name = "gfx-backend-dx12" version = "0.1.0" -source = "git+https://github.com/gfx-rs/gfx#23408ba607ac36722e0cf21e9d8d928b25509ecd" +source = "git+https://github.com/gfx-rs/gfx#5b84957d47592969507fb9e9b69810af13098819" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "d3d12 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -345,7 +345,7 @@ dependencies = [ [[package]] name = "gfx-backend-metal" version = "0.1.0" -source = "git+https://github.com/gfx-rs/gfx#23408ba607ac36722e0cf21e9d8d928b25509ecd" +source = "git+https://github.com/gfx-rs/gfx#5b84957d47592969507fb9e9b69810af13098819" dependencies = [ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -369,7 +369,7 @@ dependencies = [ [[package]] name = "gfx-backend-vulkan" version = "0.1.0" -source = "git+https://github.com/gfx-rs/gfx#23408ba607ac36722e0cf21e9d8d928b25509ecd" +source = "git+https://github.com/gfx-rs/gfx#5b84957d47592969507fb9e9b69810af13098819" dependencies = [ "ash 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -386,7 +386,7 @@ dependencies = [ [[package]] name = "gfx-hal" version = "0.1.0" -source = "git+https://github.com/gfx-rs/gfx#23408ba607ac36722e0cf21e9d8d928b25509ecd" +source = "git+https://github.com/gfx-rs/gfx#5b84957d47592969507fb9e9b69810af13098819" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -865,7 +865,7 @@ dependencies = [ [[package]] name = "range-alloc" version = "0.1.0" -source = "git+https://github.com/gfx-rs/gfx#23408ba607ac36722e0cf21e9d8d928b25509ecd" +source = "git+https://github.com/gfx-rs/gfx#5b84957d47592969507fb9e9b69810af13098819" [[package]] name = "rdrand" diff --git a/README.md b/README.md index bdd1917..30be220 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,20 @@ This is a prototype library implementing [Vulkan Portability Initiative](https:/ ### [Dota2](https://github.com/ValveSoftware/Dota-2): ![Dota2](etc/dota2-river.jpg) -### [VkQuake](https://github.com/Novum/vkQuake) -![VkQuake](etc/quake-main.jpg) +### Quake +- [vkQuake](https://github.com/Novum/vkQuake) +- [vkQuake2](https://github.com/kondrak/vkQuake2) +- [vkQuake3](https://github.com/suijingfeng/vkQuake3) + +![VkQuake](etc/quake-main.jpg) ![VkQuake3](etc/quake3-main.jpg) ### [RPCS3](https://github.com/RPCS3/rpcs3): -![RPCS3-cube](etc/rpcs3-cube.jpg) -![RPCS3-scogger](etc/rpcs3-scogger.jpg) + +![RPCS3-cube](etc/rpcs3-cube.jpg) ![RPCS3-scogger](etc/rpcs3-scogger.jpg) ### [Dolphin](https://github.com/dolphin-emu): -![Dolphin-sb](etc/dolphin-smash-bros.png) -![Dolphin-pm](etc/dolphin-paper-mario.png) -![Dolphin-mk](etc/dolphin-mario-kart.jpg) -![Dolphin-md](etc/dolphin-metroid.jpg) +![Dolphin-sb](etc/dolphin-smash-bros.png) ![Dolphin-pm](etc/dolphin-paper-mario.png) +![Dolphin-mk](etc/dolphin-mario-kart.jpg) ![Dolphin-md](etc/dolphin-metroid.jpg) ## Instructions diff --git a/etc/quake3-main.jpg b/etc/quake3-main.jpg new file mode 100644 index 0000000..ad87011 Binary files /dev/null and b/etc/quake3-main.jpg differ diff --git a/libportability-gfx/src/impls.rs b/libportability-gfx/src/impls.rs index a4d2d45..65d9f56 100644 --- a/libportability-gfx/src/impls.rs +++ b/libportability-gfx/src/impls.rs @@ -1728,9 +1728,6 @@ pub extern "C" fn gfxCreateImageView( pView: *mut VkImageView, ) -> VkResult { let info = unsafe { &*pCreateInfo }; - assert!(info.subresourceRange.levelCount != VK_REMAINING_MIP_LEVELS as _); // TODO - assert!(info.subresourceRange.layerCount != VK_REMAINING_ARRAY_LAYERS as _); // TODO - let view = unsafe { gpu.device.create_image_view( &info.image.raw, diff --git a/libportability-icd/src/lib.rs b/libportability-icd/src/lib.rs index dc58440..289308e 100644 --- a/libportability-icd/src/lib.rs +++ b/libportability-icd/src/lib.rs @@ -1,6 +1,5 @@ #![allow(non_snake_case)] -#[macro_use] extern crate portability_gfx; use portability_gfx::*;