From 5914efaea8e44fd8c0abbcd250c5aae8001a322e Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Mon, 24 Apr 2023 14:01:36 +0100 Subject: [PATCH] Remove unused code --- src/core/app.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/core/app.rs b/src/core/app.rs index 97e4e95..e6b031e 100644 --- a/src/core/app.rs +++ b/src/core/app.rs @@ -60,25 +60,6 @@ impl App { 0.25, ); - let camera_bind_group_layout = render::BindGroupLayoutBuilder::new() - .with_label("camera_bind_group_layout") - .with_entry( - wgpu::ShaderStages::COMPUTE, - wgpu::BindingType::Buffer { - ty: wgpu::BufferBindingType::Uniform, - has_dynamic_offset: false, - min_binding_size: None, - }, - None, - ) - .build(&self.render_ctx); - let camera_bind_group = render::BindGroupBuilder::new() - .with_label("camera_bind_group") - .with_layout(&camera_bind_group_layout) - .with_entry(camera_controller.get_buffer().as_entire_binding()) - .build(&self.render_ctx); - - // let renderer = render::Renderer::new(&self.render_ctx, &camera_bind_group_layout); let renderer = voxel::VoxelRenderer::new(&self.render_ctx, &camera_controller); let mut last_render_time = Instant::now();