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)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Nov 2022 15:40:37 +0000 (15:40 +0000)
commitc567e5528fd11db461f076fccd63ec1b01b96b36
tree43053ecb8d572b8d93d210e632ecb06fa1a6d285
parent42212a9bfdab8381beb9206b5d2551344c71d584
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>
src/gallium/drivers/panfrost/pan_screen.c