hal/dx12: reset command pool

This commit is contained in:
Dzmitry Malyshau
2021-07-20 10:39:31 -04:00
parent 849b3134e0
commit e9a2a1e438

View File

@@ -139,6 +139,7 @@ impl crate::CommandEncoder<super::Api> 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)