Expose opt-in temporal pixel diagnostics

This commit is contained in:
Emil
2026-09-24 05:27:44 +03:00
parent 03e4727109
commit 219e796378
10 changed files with 240 additions and 18 deletions
+8
View File
@@ -188,6 +188,14 @@ Json profileFrames(const std::vector<ProfileSample>& samples) {
{"temporal_internal_width", sample.lighting.temporal_internal_width},
{"temporal_internal_height", sample.lighting.temporal_internal_height},
{"temporal_jitter", sample.lighting.temporal_jitter},
{"temporal_counters_valid",
sample.lighting.temporal_counters_valid},
{"temporal_accepted_pixels",
sample.lighting.temporal_counters_valid
? Json(sample.lighting.temporal_accepted_pixels) : Json(nullptr)},
{"temporal_rejected_pixels",
sample.lighting.temporal_counters_valid
? Json(sample.lighting.temporal_rejected_pixels) : Json(nullptr)},
{"gpu_temporal_resolve_ms",
gpuMeasured ? Json(sample.lighting.gpu_temporal_resolve_ms) : Json(nullptr)},
{"gpu_temporal_composite_ms",