perf: add Android GPU pass timings and fix light/volumetric bottlenecks #1093
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!1093
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/perf-timings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This branch adds pass-level Android GPU timing and fixes the two bottlenecks that the instrumentation exposed:
intensity / 0.01packing made 30–60 intensity lights span 55–77 world units, so every point/spot light was effectively global and tiled culling was all-inclusive.LightDescriptor, imported fromKHR_lights_punctual, and use a smooth range window in forward, deferred, and volumetric lighting.VolumetricQuality::Mobile: reduced resolution-scaled froxel X/Y, 48 depth slices, 8 composite steps, no adaptive depth expansion.Measured results
Phone (Mali-G720, 1220×2582):
Tablet (Adreno 810, 2560×1600):
The tablet is now limited by native resolution and post-processing; a separate render-scale change is planned in #1083.
Testing
cargo fmt --all -- --checkcargo clippyfor the affected crates with-D warningscargo testfor the affected cratescargo test -p orbital_resources --test wgsl_shadersNo automatic resolution scaling or refresh-rate changes are included.
Smart test results
Result: PASS
Scope: full workspace
Reason: workspace-level change: Cargo.lock
Elapsed: 26m 24s
Workflow run
Overall: 518 tests, 509 passed, 0 failed, 9 skipped
Nextest: 508 tests, 508 passed, 0 failed, 0 skipped
Doctests: 10 tests, 1 passed, 0 failed, 9 skipped
Outcome charts are split between nextest and doctests. The timing chart covers nextest only.