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,
|
prev_frame_history_buffer: OwnedTexture,
|
||||||
disable_mipmaps: bool,
|
disable_mipmaps: bool,
|
||||||
default_options: FrameOptionsMetal,
|
default_options: FrameOptionsMetal,
|
||||||
draw_last_pass_feedback: bool
|
draw_last_pass_feedback: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Debug for FilterChainMetal {
|
impl Debug for FilterChainMetal {
|
||||||
|
|
|
@ -177,7 +177,7 @@ impl MetalGraphicsPipeline {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn begin_rendering<'pass>(
|
pub fn begin_rendering(
|
||||||
&self,
|
&self,
|
||||||
output: &RenderTarget<ProtocolObject<dyn MTLTexture>>,
|
output: &RenderTarget<ProtocolObject<dyn MTLTexture>>,
|
||||||
buffer: &ProtocolObject<dyn MTLCommandBuffer>,
|
buffer: &ProtocolObject<dyn MTLCommandBuffer>,
|
||||||
|
|
|
@ -7,7 +7,7 @@ use objc2::rc::Retained;
|
||||||
use objc2::runtime::ProtocolObject;
|
use objc2::runtime::ProtocolObject;
|
||||||
use objc2_metal::{
|
use objc2_metal::{
|
||||||
MTLBlitCommandEncoder, MTLCommandBuffer, MTLCommandEncoder, MTLDevice, MTLPixelFormat,
|
MTLBlitCommandEncoder, MTLCommandBuffer, MTLCommandEncoder, MTLDevice, MTLPixelFormat,
|
||||||
MTLStorageMode, MTLTexture, MTLTextureDescriptor, MTLTextureUsage,
|
MTLTexture, MTLTextureDescriptor, MTLTextureUsage,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub type MetalTexture = Retained<ProtocolObject<dyn MTLTexture>>;
|
pub type MetalTexture = Retained<ProtocolObject<dyn MTLTexture>>;
|
||||||
|
|
Loading…
Reference in a new issue