mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue