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:
committed by
Marge Bot
parent
f32079efab
commit
03946bfcdd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user