mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
freedreno: Remove unused fd_batch_reset()
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22602>
This commit is contained in:
parent
e3e077c9d4
commit
d4e42d31c0
2 changed files with 0 additions and 23 deletions
|
|
@ -268,28 +268,6 @@ batch_reset_resources(struct fd_batch *batch)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
batch_reset(struct fd_batch *batch) assert_dt
|
||||
{
|
||||
DBG("%p", batch);
|
||||
|
||||
batch_reset_dependencies(batch);
|
||||
|
||||
fd_screen_lock(batch->ctx->screen);
|
||||
batch_reset_resources(batch);
|
||||
fd_screen_unlock(batch->ctx->screen);
|
||||
|
||||
batch_fini(batch);
|
||||
batch_init(batch);
|
||||
}
|
||||
|
||||
void
|
||||
fd_batch_reset(struct fd_batch *batch)
|
||||
{
|
||||
if (batch->needs_flush)
|
||||
batch_reset(batch);
|
||||
}
|
||||
|
||||
void
|
||||
__fd_batch_destroy_locked(struct fd_batch *batch)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -256,7 +256,6 @@ struct fd_batch {
|
|||
|
||||
struct fd_batch *fd_batch_create(struct fd_context *ctx, bool nondraw);
|
||||
|
||||
void fd_batch_reset(struct fd_batch *batch) assert_dt;
|
||||
void fd_batch_flush(struct fd_batch *batch) assert_dt;
|
||||
bool fd_batch_has_dep(struct fd_batch *batch, struct fd_batch *dep) assert_dt;
|
||||
void fd_batch_add_dep(struct fd_batch *batch, struct fd_batch *dep) assert_dt;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue