Skip to content

Commit

Permalink
Fixed Vulkan regression: do not drop buffers.
Browse files Browse the repository at this point in the history
  • Loading branch information
zlogic committed May 11, 2024
1 parent e9b2a51 commit 76af121
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/correlation/gpu/vulkan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@ impl Device {
BufferType::GpuSource,
)?;

// All is good - defuse the scope rollback.
buffers.consume();

Ok(DeviceBuffers {
buffer_img,
buffer_internal_img1,
Expand Down

0 comments on commit 76af121

Please sign in to comment.