From 7cfbca77556bdbd7abbb0c0c2080f41c4493c7cf Mon Sep 17 00:00:00 2001 From: chyyran Date: Wed, 21 Aug 2024 20:34:22 -0400 Subject: [PATCH] rt(wgpu): remove unnecessary output move --- librashader-runtime-wgpu/src/filter_chain.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/librashader-runtime-wgpu/src/filter_chain.rs b/librashader-runtime-wgpu/src/filter_chain.rs index d1f5f97..61ebbf6 100644 --- a/librashader-runtime-wgpu/src/filter_chain.rs +++ b/librashader-runtime-wgpu/src/filter_chain.rs @@ -513,8 +513,7 @@ impl FilterChainWgpu { )?; } - let output_image = &viewport.output; - let out = RenderTarget::viewport_with_output(output_image, viewport); + let out = RenderTarget::viewport(viewport); pass.draw( cmd, index,