mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
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:
parent
9d15ef96ca
commit
08c3edac48
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue