diff --git a/wgpu-hal/src/dx12/command.rs b/wgpu-hal/src/dx12/command.rs index ce74685b5d..4a968c0654 100644 --- a/wgpu-hal/src/dx12/command.rs +++ b/wgpu-hal/src/dx12/command.rs @@ -139,6 +139,7 @@ impl crate::CommandEncoder for super::CommandEncoder { for cmd_buf in command_buffers { self.free_lists.push(cmd_buf.raw); } + self.allocator.reset(); } unsafe fn transition_buffers<'a, T>(&mut self, barriers: T)