Update gfx with destroy_buffer_view impl

This commit is contained in:
Dzmitry Malyshau 2018-04-01 21:45:21 -04:00
parent 1bc260fb25
commit 973025673c
3 changed files with 14 additions and 8 deletions

View file

@ -8,10 +8,12 @@ This is a prototype library implementing [Vulkan Portability Initiative](https:/
| gfx-rs Backend | Total cases | Pass | Fail | Quality warning | Compatibility warning | Not supported | Resource error | Internal error | Timeout | Crash |
| -------------- | -- | -- | -- | - | - | - | - | - | - | - |
| *Vulkan* | 3576 | 652 | 676 | 0 | 0 | 2248 | 0 | 0 | 0 | 0 |
| *Vulkan* | 3589 | 665 | 676 | 0 | 0 | 2248 | 0 | 0 | 0 | 0 |
| *DX12* | 3563 | 1243 | 73 | 0 | 0 | 2247 | 0 | 0 | 0 | 0 |
Currently crashing on "dEQP-VK.api.object_management.single.buffer_view_uniform_r8g8b8a8_unorm".
Currently crashing on event handling.
Please visit [our wiki](https://github.com/gfx-rs/portability/wiki/Vulkan-CTS-status) for CTS hookup instructions. Once everything is set, you can generate the new results by calling `make cts`.
## Check out
```

View file

@ -25,19 +25,19 @@ optional = true
[dependencies.gfx-hal]
git = "https://github.com/gfx-rs/gfx"
rev = "df0563493a0ce4baab2767c461ccc5c1ebc265ca"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
git = "https://github.com/gfx-rs/gfx"
rev = "df0563493a0ce4baab2767c461ccc5c1ebc265ca"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
git = "https://github.com/gfx-rs/gfx"
rev = "df0563493a0ce4baab2767c461ccc5c1ebc265ca"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
git = "https://github.com/gfx-rs/gfx"
rev = "df0563493a0ce4baab2767c461ccc5c1ebc265ca"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
optional = true

View file

@ -1070,7 +1070,9 @@ pub extern "C" fn gfxDestroyBuffer(
if !buffer.is_null() {
match *buffer.unwrap() {
Buffer::Buffer(buffer) => gpu.device.destroy_buffer(buffer),
Buffer::Unbound(_) => () //TODO? drop for now
Buffer::Unbound(_) => {
warn!("Trying to destroy a non-bound buffer, ignoring");
}
}
}
}
@ -1150,7 +1152,9 @@ pub extern "C" fn gfxDestroyImage(
if !image.is_null() {
match *image.unwrap() {
Image::Image(image) => gpu.device.destroy_image(image),
Image::Unbound(_) => unimplemented!(),
Image::Unbound(_) => {
warn!("Trying to destroy a non-bound image, ignoring");
}
}
}
}