tu: Fix renderpass-level tracepoints not showing up in binning

They should be cloned not only per-tile but also for binning IB.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38240>
This commit is contained in:
Danylo Piliaiev
2025-11-04 15:17:47 +01:00
committed by Marge Bot
parent c04e375588
commit 01cbd0f24a
+3
View File
@@ -2436,6 +2436,9 @@ tu6_emit_binning_pass(struct tu_cmd_buffer *cmd, struct tu_cs *cs,
else
trace_end_binning_ib(&cmd->trace, cs);
tu_clone_trace_range(cmd, cs, &cmd->trace, cmd->trace_renderpass_start,
u_trace_end_iterator(&cmd->rp_trace));
/* switching from binning pass to GMEM pass will cause a switch from
* PROGRAM_BINNING to PROGRAM, which invalidates const state (XS_CONST states)
* so make sure these states are re-emitted