rt(mtl): remove unnecessary output move

This commit is contained in:
chyyran 2024-08-21 20:34:16 -04:00 committed by Ronny Chan
parent 1e33b4cc03
commit 8467e5cd97
3 changed files with 16 additions and 3 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View file

@ -506,11 +506,10 @@ impl FilterChainMetal {
)?; )?;
} }
let output_image = viewport.output; let out = RenderTarget::viewport(viewport);
let out = RenderTarget::viewport_with_output(output_image, viewport);
pass.draw( pass.draw(
&cmd, &cmd,
passes_len - 1, index,
&self.common, &self.common,
pass.config.get_frame_count(frame_count), pass.config.get_frame_count(frame_count),
options, options,

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>objctest.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>