Scope bindless refreshes to their heap and bound speculative staging
This commit is contained in:
1 parent
3bcc96f9bb
commit
933b382635
5 files changed
+126
-51
No files matched your search
@@ -112,6 +112,8 @@ impl Made {
|
||||
}
|
||||
|
||||
pub(crate) struct HostHeap {
|
||||
pub(crate) buffer_sweep: Mutex<crate::draw::BufferSweep>,
|
||||
pub(crate) buffer_frame: std::sync::atomic::AtomicU64,
|
||||
pub(crate) heap: ID3D12DescriptorHeap,
|
||||
cpu: usize,
|
||||
step: u32,
|
||||
@@ -1524,6 +1526,8 @@ impl HostHeap {
|
||||
})
|
||||
.flatten();
|
||||
let h = HostHeap {
|
||||
buffer_sweep: Mutex::default(),
|
||||
buffer_frame: std::sync::atomic::AtomicU64::new(u64::MAX),
|
||||
heap,
|
||||
cpu,
|
||||
step,
|
||||
|
||||
Reference in new issue
Block a user