From: Alyssa Rosenzweig Date: Sat, 26 Jun 2021 19:23:34 +0000 (-0400) Subject: asahi: Save zsbuf ptr X-Git-Tag: upstream/21.2.3~928 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78610de496c033ae2f634c10900d2d053c762666;p=platform%2Fupstream%2Fmesa.git asahi: Save zsbuf ptr Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/asahi/agx_state.c b/src/gallium/drivers/asahi/agx_state.c index 7890106..1b05cd4 100644 --- a/src/gallium/drivers/asahi/agx_state.c +++ b/src/gallium/drivers/asahi/agx_state.c @@ -630,6 +630,7 @@ agx_set_framebuffer_state(struct pipe_context *pctx, ctx->batch->height = state->height; ctx->batch->nr_cbufs = state->nr_cbufs; ctx->batch->cbufs[0] = state->cbufs[0]; + ctx->batch->zsbuf = state->zsbuf; ctx->dirty = ~0; for (unsigned i = 0; i < state->nr_cbufs; ++i) {