panfrost: Allow linear ZS resources on Bifrost

Linear Z/S buffers should be handled correctly now.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7472>
This commit is contained in:
Boris Brezillon 2020-11-06 12:50:41 +01:00
parent 4995a4c03a
commit 255f7842c7
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ panfrost_can_linear(struct panfrost_device *dev, const struct panfrost_resource
{
/* XXX: We should be able to do linear Z/S with the right bits.. */
return !((pres->base.bind & PIPE_BIND_DEPTH_STENCIL) &&
(dev->quirks & (MIDGARD_SFBD | IS_BIFROST)));
(dev->quirks & MIDGARD_SFBD));
}
static bool