diff --git a/src/render/passes/forward_instanced/mod.rs b/src/render/passes/forward_instanced/mod.rs index a012f39374..68516dad6b 100644 --- a/src/render/passes/forward_instanced/mod.rs +++ b/src/render/passes/forward_instanced/mod.rs @@ -40,7 +40,6 @@ impl ForwardInstancedPipeline { let size = mem::size_of::(); - // TODO: use a staging buffer for more efficient gpu reads let temp_buf_data = device.create_buffer_mapped( entities_count * size, wgpu::BufferUsage::COPY_SRC | wgpu::BufferUsage::VERTEX, diff --git a/src/render/render_graph/mod.rs b/src/render/render_graph/mod.rs index a6081f5e00..8a3cf7946d 100644 --- a/src/render/render_graph/mod.rs +++ b/src/render/render_graph/mod.rs @@ -135,7 +135,6 @@ impl RenderGraph { loop { let render_pass = pass.begin(data, world, &mut encoder, &frame); if let Some(mut render_pass) = render_pass { - // TODO: assign pipelines to specific passes if let Some(pipeline_names) = self.pass_pipelines.get(pass_name) { for pipeline_name in pipeline_names.iter() { let pipeline = self.pipelines.get_mut(pipeline_name).unwrap();