We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f3b92 commit 43bc09cCopy full SHA for 43bc09c
1 file changed
librashader-runtime-vk/src/filter_chain.rs
@@ -219,6 +219,10 @@ impl FrameResiduals {
219
self.image_views.push(output_framebuffer.image_view);
220
}
221
222
+ pub(crate) fn dispose_image_view(&mut self, image_view: vk::ImageView) {
223
+ self.image_views.push(image_view);
224
+ }
225
+
226
pub(crate) fn dispose_owned(&mut self, owned: OwnedImage) {
227
self.owned.push(owned)
228
@@ -882,6 +886,8 @@ impl FilterChainVulkan {
882
886
intermediates.dispose_framebuffers(residual_fb);
883
887
884
888
889
+ intermediates.dispose_image_view(original_image_view);
890
885
891
self.push_history(input, cmd)?;
892
self.common.internal_frame_count = self.common.internal_frame_count.wrapping_add(1);
893
Ok(())
0 commit comments