vkQuake3 screenshot

This commit is contained in:
Dzmitry Malyshau 2019-03-26 23:57:07 -04:00
parent f4defcd41b
commit 53cc04f8dd
5 changed files with 16 additions and 18 deletions

12
Cargo.lock generated
View file

@ -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"

View file

@ -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

BIN
etc/quake3-main.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

View file

@ -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,

View file

@ -1,6 +1,5 @@
#![allow(non_snake_case)]
#[macro_use]
extern crate portability_gfx;
use portability_gfx::*;