gallium/u_threaded: remove refcounting for dispatch compute indirect buffers

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37568>
This commit is contained in:
Marek Olšák 2025-09-25 09:24:56 -04:00 committed by Marge Bot
parent 9d15ef96ca
commit 08c3edac48

View file

@ -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)