tu: Remove now-redundant tu_trace_render_pass_start()
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

It's now called at tu_cmd_render() time, so we don't need any special
handling for merged render passes. I missed this call when rewriting it.

Fixes: 630380349b ("tu: Give renderpass events a separate trace buffer")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35868>
This commit is contained in:
Connor Abbott 2025-07-01 12:20:19 -04:00 committed by Marge Bot
parent dce1d4ad4c
commit 0c37d9abdf

View file

@ -5032,13 +5032,6 @@ tu_restore_suspended_pass(struct tu_cmd_buffer *cmd,
cmd->state.gmem_layout = suspended->state.suspended_pass.gmem_layout;
cmd->state.tiling = &cmd->state.framebuffer->tiling[cmd->state.gmem_layout];
cmd->state.lrz = suspended->state.suspended_pass.lrz;
/* Re-emit tracepoint only when renderpass was started in
* some previous command buffer and it's being reconstructed
* in the internal command buffer.
*/
if (cmd != suspended)
tu_trace_start_render_pass(cmd);
}
/* Take the saved pre-chain in "secondary" and copy its commands to "cmd",