mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
panfrost: Fix format_minimum_alignment() for v6-
Alignment should be power of two, so I suspect we meant 64 not 63. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26221>
This commit is contained in:
parent
6e166af59e
commit
46d2748a93
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ format_minimum_alignment(const struct panfrost_device *dev,
|
|||
return 16;
|
||||
|
||||
if (dev->arch < 7)
|
||||
return 63;
|
||||
return 64;
|
||||
|
||||
switch (format) {
|
||||
/* For v7+, NV12/NV21/I420 have a looser alignment requirement of 16 bytes */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue