pan/bi: add support for I420 and YV12 sampling
authorItalo Nicola <italonicola@collabora.com>
Thu, 20 Jul 2023 17:20:58 +0000 (17:20 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 18:43:38 +0000 (18:43 +0000)
commit4eb0a98e5a45572a6c30f16f7b7e21cf22d158c2
tree0ad25b48b9997fdabba9ed79059c131db040fa38
parentb890a5ff619e41ced38780a93099af86df06a86a
pan/bi: add support for I420 and YV12 sampling

These formats can be directly sampled, and they have a lower stride
alignment requirement.

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24266>
src/panfrost/lib/pan_format.c
src/panfrost/lib/pan_layout.c