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:
Mike Blumenkrantz 2021-03-22 10:58:26 -04:00 committed by Marge Bot
parent f32079efab
commit 03946bfcdd

View file

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