rt(mtl): remove unused 'pass lifetime
This commit is contained in:
parent
4ba5aefafc
commit
7d0b135710
|
@ -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 {
|
||||
|
|
|
@ -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>,
|
||||
|
|
|
@ -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>>;
|
||||
|
|
Loading…
Reference in a new issue