intel/ds: Fix formatting of stage index.

draws had been bumped to stage #10, so they ended up appearing nested
between frame (#1) and cmdbuf (#2), instead of nested under them.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22350>
This commit is contained in:
Emma Anholt 2025-04-07 14:54:33 -07:00 committed by Marge Bot
parent 4cc66123ec
commit 7c130e5dcf

View file

@ -203,7 +203,7 @@ setup_incremental_state(IntelRenderpassDataSource::TraceContext &ctx,
* by intel_ds_queue_stage.
*/
char name[100];
snprintf(name, sizeof(name), "%.10s-%s-%u-%s",
snprintf(name, sizeof(name), "%.10s-%s-%02u-%s",
util_get_process_name(),
queue->name, s, intel_queue_stage_desc[s].name);