diff --git a/librashader-runtime-mtl/src/filter_chain.rs b/librashader-runtime-mtl/src/filter_chain.rs index 7803008..e23624d 100644 --- a/librashader-runtime-mtl/src/filter_chain.rs +++ b/librashader-runtime-mtl/src/filter_chain.rs @@ -82,7 +82,7 @@ pub struct FilterChainMetal { prev_frame_history_buffer: OwnedTexture, disable_mipmaps: bool, default_options: FrameOptionsMetal, - draw_last_pass_feedback: bool + draw_last_pass_feedback: bool, } impl Debug for FilterChainMetal { diff --git a/librashader-runtime-mtl/src/graphics_pipeline.rs b/librashader-runtime-mtl/src/graphics_pipeline.rs index bf560dd..855a428 100644 --- a/librashader-runtime-mtl/src/graphics_pipeline.rs +++ b/librashader-runtime-mtl/src/graphics_pipeline.rs @@ -177,7 +177,7 @@ impl MetalGraphicsPipeline { Ok(()) } - pub fn begin_rendering<'pass>( + pub fn begin_rendering( &self, output: &RenderTarget>, buffer: &ProtocolObject, diff --git a/librashader-runtime-mtl/src/texture.rs b/librashader-runtime-mtl/src/texture.rs index ad4d853..da49fb3 100644 --- a/librashader-runtime-mtl/src/texture.rs +++ b/librashader-runtime-mtl/src/texture.rs @@ -7,7 +7,7 @@ use objc2::rc::Retained; use objc2::runtime::ProtocolObject; use objc2_metal::{ MTLBlitCommandEncoder, MTLCommandBuffer, MTLCommandEncoder, MTLDevice, MTLPixelFormat, - MTLStorageMode, MTLTexture, MTLTextureDescriptor, MTLTextureUsage, + MTLTexture, MTLTextureDescriptor, MTLTextureUsage, }; pub type MetalTexture = Retained>;