From: Alyssa Rosenzweig Date: Thu, 21 May 2020 20:35:48 +0000 (-0400) Subject: panfrost: Add separate_stencil BO to batch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7765a8c7f5b225d11373a35bd5156c9a98a6514;p=mesa.git panfrost: Add separate_stencil BO to batch Signed-off-by: Alyssa Rosenzweig Part-of: --- 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)