timestamp radix profile

This commit is contained in:
2026-10-31 12:15:57 +01:00
parent 570ec62bdf
commit e4cbafb632
2 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -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);
+12 -9
View File
@@ -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