Mesa (master): panfrost: Allow linear ZS resources on Bifrost
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 9 19:50:31 UTC 2020
Module: Mesa
Branch: master
Commit: 255f7842c7c9c8fc521db2982d8869c6b5058eac
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=255f7842c7c9c8fc521db2982d8869c6b5058eac
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Fri Nov 6 12:50:41 2020 +0100
panfrost: Allow linear ZS resources on Bifrost
Linear Z/S buffers should be handled correctly now.
Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7472>
---
src/gallium/drivers/panfrost/pan_resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c
index 54e8cc5e3cc..979350d92b7 100644
--- a/src/gallium/drivers/panfrost/pan_resource.c
+++ b/src/gallium/drivers/panfrost/pan_resource.c
@@ -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
More information about the mesa-commit
mailing list