mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 17:20:37 +02:00
panfrost: Allow AFBC(3D) on Valhall
Now that pan_layout_init() has been fixed to report the correct slice size, we can do what the comment says and allow AFBC(3D) on v7+. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Tested-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35555>
This commit is contained in:
parent
92ea3139c1
commit
0f90ae39c4
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ panfrost_should_afbc(struct panfrost_device *dev,
|
|||
case PIPE_TEXTURE_3D:
|
||||
/* 3D AFBC is only supported on Bifrost v7+. It's supposed to
|
||||
* be supported on Midgard but it doesn't seem to work */
|
||||
if (dev->arch != 7)
|
||||
if (dev->arch < 7)
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue