timestamp radix profile
This commit is contained in:
+1
-1
@@ -354,7 +354,7 @@ impl State
|
||||
init: voxel_cache::CacheAttributeInit::External,
|
||||
});
|
||||
|
||||
let voxel_cache = VoxelCache::<4>::new(&device, 100_000, &layout);
|
||||
let voxel_cache = VoxelCache::<4>::new(&device, 150_000, &layout);
|
||||
let request_buffer = CacheRequestBuffer::new(&device, 1024);
|
||||
let insertion_data = CacheInsertionData::new(&device, 1024, &layout);
|
||||
|
||||
|
||||
@@ -138,15 +138,18 @@ impl CacheEvictor
|
||||
reset_pass.dispatch_workgroups(self.reset_lru_list_dispatch, 1, 1);
|
||||
}
|
||||
|
||||
ressources.radix_sorter.sort(
|
||||
device,
|
||||
&ressources.scratch_buffer,
|
||||
&self.lru_list,
|
||||
None,
|
||||
Some(self.page_count),
|
||||
&mut encoder,
|
||||
radix_sort::RadixSortDirection::Ascending,
|
||||
);
|
||||
{
|
||||
gpu_profiler::begin_scope!(encoder, "timestamp radix");
|
||||
ressources.radix_sorter.sort(
|
||||
device,
|
||||
&ressources.scratch_buffer,
|
||||
&self.lru_list,
|
||||
None,
|
||||
Some(self.page_count),
|
||||
&mut encoder,
|
||||
radix_sort::RadixSortDirection::Ascending,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn bind_group(&self) -> &BindGroup
|
||||
|
||||
Reference in New Issue
Block a user