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:
parent
4995a4c03a
commit
255f7842c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue