Skip to content

Commit

Permalink
rt(mtl): remove unused 'pass lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyran committed Sep 20, 2024
1 parent 4ba5aef commit 7d0b135
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion librashader-runtime-mtl/src/filter_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion librashader-runtime-mtl/src/graphics_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl MetalGraphicsPipeline {
Ok(())
}

pub fn begin_rendering<'pass>(
pub fn begin_rendering(
&self,
output: &RenderTarget<ProtocolObject<dyn MTLTexture>>,
buffer: &ProtocolObject<dyn MTLCommandBuffer>,
Expand Down
2 changes: 1 addition & 1 deletion librashader-runtime-mtl/src/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ProtocolObject<dyn MTLTexture>>;
Expand Down

0 comments on commit 7d0b135

Please sign in to comment.