mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeonsi: fix printing a BO list into ddebug reports
important for debugging
Cc: 18.1 18.2 <mesa-stable@lists.freedesktop.org>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
(cherry picked from commit 662db03577)
This commit is contained in:
parent
517c2f1e0f
commit
09196d4b66
1 changed files with 2 additions and 1 deletions
|
|
@ -134,12 +134,13 @@ void si_flush_gfx_cs(struct si_context *ctx, unsigned flags,
|
|||
|
||||
if (ctx->current_saved_cs) {
|
||||
si_trace_emit(ctx);
|
||||
si_log_hw_flush(ctx);
|
||||
|
||||
/* Save the IB for debug contexts. */
|
||||
si_save_cs(ws, cs, &ctx->current_saved_cs->gfx, true);
|
||||
ctx->current_saved_cs->flushed = true;
|
||||
ctx->current_saved_cs->time_flush = os_time_get_nano();
|
||||
|
||||
si_log_hw_flush(ctx);
|
||||
}
|
||||
|
||||
/* Flush the CS. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue