From e7765a8c7f5b225d11373a35bd5156c9a98a6514 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 21 May 2020 16:35:48 -0400 Subject: [PATCH] panfrost: Add separate_stencil BO to batch Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_job.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c index e79605b4f26..3846417dfe2 100644 --- a/src/gallium/drivers/panfrost/pan_job.c +++ b/src/gallium/drivers/panfrost/pan_job.c @@ -597,6 +597,9 @@ panfrost_batch_add_resource_bos(struct panfrost_batch *batch, for (unsigned i = 0; i < MAX_MIP_LEVELS; i++) if (rsrc->slices[i].checksum_bo) panfrost_batch_add_bo(batch, rsrc->slices[i].checksum_bo, flags); + + if (rsrc->separate_stencil) + panfrost_batch_add_bo(batch, rsrc->separate_stencil->bo, flags); } void panfrost_batch_add_fbo_bos(struct panfrost_batch *batch) -- 2.30.2