panfrost: Use PIPE_CAP_VERTEX_ATTRIB_ELEMENT_ALIGNED_ONLY
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 31 Oct 2022 01:24:34 +0000 (21:24 -0400)
committerEric Engestrom <eric@engestrom.ch>
Thu, 17 Nov 2022 14:05:04 +0000 (14:05 +0000)
commit09623eb2fd4c534f625c72c315cd5c76358f9f8e
tree01eb892e12972f8d55c6d3b301995b6e94154e65
parent449eb0798fb5927ce9c1d301c7bd05b314cb4c2f
panfrost: Use PIPE_CAP_VERTEX_ATTRIB_ELEMENT_ALIGNED_ONLY

..instead of 4BYTE_ALIGNED_ONLY. This is more correct and avoids
needless repacking. Noticed in Firefox, which was hitting the vbuf
translate path.

Fixes: e03622e50fc ("panfrost: Set STRIDE_4BYTE_ALIGNED_ONLY")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19761>
(cherry picked from commit c567e5528fd11db461f076fccd63ec1b01b96b36)
.pick_status.json
src/gallium/drivers/panfrost/pan_screen.c