memory profile

This commit is contained in:
2026-11-02 12:06:56 +01:00
parent 9b9f637842
commit 11d26ad16b
14 changed files with 463 additions and 92 deletions
+2 -1
View File
@@ -204,6 +204,7 @@ impl State
max_storage_buffers_per_shader_stage: 32,
max_binding_array_elements_per_shader_stage: 16,
max_bind_groups: 8,
max_storage_buffer_binding_size: 1_000_000_000,
..Default::default()
},
..Default::default()
@@ -359,7 +360,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, 200_000, &layout);
let request_buffer = CacheRequestBuffer::new(&device, 1024);
let insertion_data = CacheInsertionData::new(&device, 1024, &layout);