Module: Mesa Branch: master Commit: 03946bfcdd881b62eff254a68a08a7a35d79f6cd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03946bfcdd881b62eff254a68a08a7a35d79f6cd
Author: Mike Blumenkrantz <[email protected]> Date: Mon Mar 22 10:58:26 2021 -0400 zink: explicitly reset a couple more batch state members no functional changes at this time Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9885> --- src/gallium/drivers/zink/zink_batch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/zink/zink_batch.c b/src/gallium/drivers/zink/zink_batch.c index 224c3d51223..c5a992cdad5 100644 --- a/src/gallium/drivers/zink/zink_batch.c +++ b/src/gallium/drivers/zink/zink_batch.c @@ -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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
