mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
parent
f68a095ecb
commit
58f92cc6b4
@ -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
wgpu/tests/encoder.rs
Normal file
11
wgpu/tests/encoder.rs
Normal 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);
|
||||
})
|
||||
}
|
@ -5,6 +5,7 @@ mod buffer_copy;
|
||||
mod buffer_usages;
|
||||
mod clear_texture;
|
||||
mod device;
|
||||
mod encoder;
|
||||
mod example_wgsl;
|
||||
mod instance;
|
||||
mod poll;
|
||||
|
Loading…
Reference in New Issue
Block a user