From 08c3edac487bab4a86a87055db2eb58928e8e775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 25 Sep 2025 09:24:56 -0400 Subject: [PATCH] gallium/u_threaded: remove refcounting for dispatch compute indirect buffers Reviewed-By: Mike Blumenkrantz Part-of: --- src/gallium/auxiliary/util/u_threaded_context.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index d04f03e952b..019c712c5af 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -4418,7 +4418,6 @@ tc_call_launch_grid(struct pipe_context *pipe, void *call) struct pipe_grid_info *p = &to_call(call, tc_launch_grid_call)->info; pipe->launch_grid(pipe, p); - tc_drop_resource_reference(p->indirect); return call_size(tc_launch_grid_call); } @@ -4430,7 +4429,6 @@ tc_launch_grid(struct pipe_context *_pipe, struct tc_launch_grid_call *p = tc_add_call(tc, TC_CALL_launch_grid, tc_launch_grid_call); - tc_set_resource_reference(&p->info.indirect, info->indirect); memcpy(&p->info, info, sizeof(*info)); if (info->indirect)