panfrost: Add separate_stencil BO to batch

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5265>
This commit is contained in:
Alyssa Rosenzweig 2020-05-21 16:35:48 -04:00 committed by Marge Bot
parent 6aa7f6792d
commit e7765a8c7f

View file

@ -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)