diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..68bc772 Binary files /dev/null and b/.DS_Store differ diff --git a/librashader-runtime-mtl/src/filter_chain.rs b/librashader-runtime-mtl/src/filter_chain.rs index d4e611f..1dcfc26 100644 --- a/librashader-runtime-mtl/src/filter_chain.rs +++ b/librashader-runtime-mtl/src/filter_chain.rs @@ -506,11 +506,10 @@ impl FilterChainMetal { )?; } - let output_image = viewport.output; - let out = RenderTarget::viewport_with_output(output_image, viewport); + let out = RenderTarget::viewport(viewport); pass.draw( &cmd, - passes_len - 1, + index, &self.common, pass.config.get_frame_count(frame_count), options, diff --git a/test/capi-tests/objctest/objctest.xcodeproj/xcuserdata/chyyran.xcuserdatad/xcschemes/xcschememanagement.plist b/test/capi-tests/objctest/objctest.xcodeproj/xcuserdata/chyyran.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..13b7ecc --- /dev/null +++ b/test/capi-tests/objctest/objctest.xcodeproj/xcuserdata/chyyran.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + objctest.xcscheme_^#shared#^_ + + orderHint + 0 + + + +