remove some todos
This commit is contained in:
parent
2506449097
commit
41722830bd
@ -40,7 +40,6 @@ impl ForwardInstancedPipeline {
|
|||||||
|
|
||||||
let size = mem::size_of::<SimpleMaterialUniforms>();
|
let size = mem::size_of::<SimpleMaterialUniforms>();
|
||||||
|
|
||||||
// TODO: use a staging buffer for more efficient gpu reads
|
|
||||||
let temp_buf_data = device.create_buffer_mapped(
|
let temp_buf_data = device.create_buffer_mapped(
|
||||||
entities_count * size,
|
entities_count * size,
|
||||||
wgpu::BufferUsage::COPY_SRC | wgpu::BufferUsage::VERTEX,
|
wgpu::BufferUsage::COPY_SRC | wgpu::BufferUsage::VERTEX,
|
||||||
|
@ -135,7 +135,6 @@ impl RenderGraph {
|
|||||||
loop {
|
loop {
|
||||||
let render_pass = pass.begin(data, world, &mut encoder, &frame);
|
let render_pass = pass.begin(data, world, &mut encoder, &frame);
|
||||||
if let Some(mut render_pass) = render_pass {
|
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) {
|
if let Some(pipeline_names) = self.pass_pipelines.get(pass_name) {
|
||||||
for pipeline_name in pipeline_names.iter() {
|
for pipeline_name in pipeline_names.iter() {
|
||||||
let pipeline = self.pipelines.get_mut(pipeline_name).unwrap();
|
let pipeline = self.pipelines.get_mut(pipeline_name).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user