diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-01 00:18:03 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-01 00:18:03 +0300 |
| commit | 3aa9493a02abd27f4f0c803f594047d37ff9058b (patch) | |
| tree | e71a98772a9cb136754038214734d8b757985ba0 /apps/fparkan-game/src/main.rs | |
| parent | 5890416fd74f4868d16814bd87221370e34062db (diff) | |
| download | fparkan-3aa9493a02abd27f4f0c803f594047d37ff9058b.tar.xz fparkan-3aa9493a02abd27f4f0c803f594047d37ff9058b.zip | |
perf(render): share identical material texture images
Diffstat (limited to 'apps/fparkan-game/src/main.rs')
| -rw-r--r-- | apps/fparkan-game/src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index ddca7b1..42239f6 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -10617,6 +10617,12 @@ impl StaticVulkanApp { report.renderer_report.mesh_index_upload_bytes, report.renderer_report.mesh_full_upload_bytes, ); + eprintln!( + "render_texture_upload slots={} initial_images={} detached_images={}", + self.materials.len() * 4, + report.renderer_report.initial_texture_image_count, + report.renderer_report.texture_detach_count, + ); self.output = Some(format!( "rendered mission {}: {} frames, {} objects, {} mesh components, {} terrain components, camera={}, captured_viewport_crop={}, control_clock_ms={}, control_clock_mode={}, materials={}, environment_primitives={}, shadow_casters={}, shadow_indices={}, swapchain_recreates={}, validation={}, swapchain_format={}, readback_format={}, readback={}, readback_sequence={}, startup_ms={{mission_assets:{:.1},terrain_materials:{:.1},sky:{:.1},gpu_initialization:{:.1}}}", self.mission, |
