Provoke VUID-vkDestroyDevice-device-00378 without #3069. (#3075)

This commit is contained in:
Jim Blandy authored and GitHub committed 2022-10-06 18:06:32 +00:00
1 parent f68a095ecb
commit 58f92cc6b4
3 files changed
+18

No files matched your search

+6
View File
@@ -40,6 +40,12 @@ Bottom level categories:
## Unreleased
### Bug Fixes
#### General
- Bother to free the `hal::Api::CommandBuffer` when a `wgpu_core::command::CommandEncoder` is dropped. By @jimblandy in [#3069](https://github.com/gfx-rs/wgpu/pull/3069).
## wgpu-0.14.0 (2022-10-05)
### Major Changes
+11
View File
@@ -0,0 +1,11 @@
use crate::common::{initialize_test, TestParameters};
#[test]
fn drop_encoder() {
initialize_test(TestParameters::default(), |ctx| {
let encoder = ctx
.device
.create_command_encoder(&wgpu::CommandEncoderDescriptor::default());
drop(encoder);
})
}
+1
View File
@@ -5,6 +5,7 @@ mod buffer_copy;
mod buffer_usages;
mod clear_texture;
mod device;
mod encoder;
mod example_wgsl;
mod instance;
mod poll;