remove some todos

This commit is contained in:
Carter Anderson 2020-01-11 11:57:16 -08:00
parent 2506449097
commit 41722830bd
2 changed files with 0 additions and 2 deletions

View file

@ -40,7 +40,6 @@ impl ForwardInstancedPipeline {
let size = mem::size_of::<SimpleMaterialUniforms>();
// 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,

View file

@ -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();