mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
v3d: actually root the first BO in a command list in the job
We were passing cl->bo, which is NULL, so v3d_job_add_bo was a no-op. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
06db271a6c
commit
ca475d5fba
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ v3d_cl_ensure_space_with_branch(struct v3d_cl *cl, uint32_t space)
|
|||
v3d_bo_unreference(&cl->bo);
|
||||
} else {
|
||||
/* Root the first RCL/BCL BO in the job. */
|
||||
v3d_job_add_bo(cl->job, cl->bo);
|
||||
v3d_job_add_bo(cl->job, new_bo);
|
||||
}
|
||||
|
||||
cl->bo = new_bo;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue