asahi: Clear batch->resolve on agx_batch_init
authorAsahi Lina <lina@asahilina.net>
Wed, 3 May 2023 12:48:21 +0000 (21:48 +0900)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 7 May 2023 13:10:37 +0000 (09:10 -0400)
This has been broken forever, but it was only noticed with the ZS
load/store optimizations in the subsequent commits.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22891>

src/gallium/drivers/asahi/agx_batch.c

index 6d0091f..3250c81 100644 (file)
@@ -112,6 +112,7 @@ agx_batch_init(struct agx_context *ctx,
    batch->clear = 0;
    batch->draw = 0;
    batch->load = 0;
+   batch->resolve = 0;
    batch->clear_depth = 0;
    batch->clear_stencil = 0;
    batch->varyings = 0;