Skip to content

Commit fd850ff

Browse files
fixup! fix(dx12): align tex. <-> buf. copies via intermediate buffer if !UnrestrictedBufferTextureCopyPitchSupported
1 parent f9606d3 commit fd850ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wgpu-hal/src/dx12/command.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ impl crate::CommandEncoder for super::CommandEncoder {
438438
Ok(super::CommandBuffer { raw })
439439
}
440440
unsafe fn reset_all<I: Iterator<Item = super::CommandBuffer>>(&mut self, command_buffers: I) {
441+
self.intermediate_copy_bufs.clear();
441442
for cmd_buf in command_buffers {
442443
self.free_lists.push(cmd_buf.raw);
443444
}

0 commit comments

Comments
 (0)