mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
zink: explicitly reset a couple more batch state members
no functional changes at this time Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9885>
This commit is contained in:
parent
f32079efab
commit
03946bfcdd
1 changed files with 3 additions and 0 deletions
|
|
@ -86,6 +86,9 @@ zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs)
|
|||
bs->descs_used = 0;
|
||||
ctx->resource_size -= bs->resource_size;
|
||||
bs->resource_size = 0;
|
||||
|
||||
bs->fence.submitted = false;
|
||||
bs->fence.batch_id = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue