renderer: cleanup

This commit is contained in:
Janis 2025-01-19 21:29:46 +01:00
parent 40ea757543
commit 44076fb5f0
2 changed files with 4 additions and 12 deletions

View file

@ -1,13 +1,13 @@
use std::{
borrow::Cow,
collections::{BTreeMap, BTreeSet, HashMap, HashSet},
collections::{BTreeMap, BTreeSet, HashMap},
ffi::{CStr, CString},
ops::Deref,
sync::Arc,
};
use ash::{
ext, khr,
khr,
prelude::VkResult,
vk::{self, Handle},
};

View file

@ -8,20 +8,13 @@
slice_partition_dedup
)]
use std::{
collections::{BTreeMap, BTreeSet, HashMap},
ffi::{CStr, CString},
fmt::Debug,
marker::PhantomData,
sync::Arc,
};
use std::{collections::HashMap, ffi::CStr, fmt::Debug, marker::PhantomData, sync::Arc};
use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
use parking_lot::{Mutex, MutexGuard};
use ash::{
khr,
prelude::VkResult,
vk::{self},
Entry,
@ -87,7 +80,6 @@ mod texture {
}
}
use render_graph::Access;
use util::Rgba;
#[derive(Debug, thiserror::Error)]
@ -800,7 +792,7 @@ impl Renderer2 {
let frame = surface.acquire_image().await?;
let mut rg = render_graph::RenderGraph::new();
let framebuffer = rg.import_framebuffer(frame.image.clone());
let _framebuffer = rg.import_framebuffer(frame.image.clone());
let out = cb(self, &mut rg);