rt(mtl): remove internal_frame_count
This commit is contained in:
parent
cebc7a939a
commit
c9205bc922
|
@ -83,7 +83,6 @@ pub(crate) struct FilterCommon {
|
||||||
pub luts: FastHashMap<usize, LutTexture>,
|
pub luts: FastHashMap<usize, LutTexture>,
|
||||||
pub samplers: SamplerSet,
|
pub samplers: SamplerSet,
|
||||||
pub config: RuntimeParameters,
|
pub config: RuntimeParameters,
|
||||||
pub internal_frame_count: i32,
|
|
||||||
pub(crate) draw_quad: DrawQuad,
|
pub(crate) draw_quad: DrawQuad,
|
||||||
device: Id<ProtocolObject<dyn MTLDevice>>,
|
device: Id<ProtocolObject<dyn MTLDevice>>,
|
||||||
}
|
}
|
||||||
|
@ -304,7 +303,6 @@ impl FilterChainMetal {
|
||||||
output_textures,
|
output_textures,
|
||||||
feedback_textures,
|
feedback_textures,
|
||||||
history_textures,
|
history_textures,
|
||||||
internal_frame_count: 0,
|
|
||||||
},
|
},
|
||||||
passes: filters,
|
passes: filters,
|
||||||
output_framebuffers,
|
output_framebuffers,
|
||||||
|
@ -474,7 +472,6 @@ impl FilterChainMetal {
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.common.internal_frame_count = self.common.internal_frame_count.wrapping_add(1);
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue