lima: handle fp16 vertex formats
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 14 Jul 2021 06:12:13 +0000 (23:12 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 15 Jul 2021 01:06:52 +0000 (01:06 +0000)
commit4a3269dff65e198ac3d493b676800978ce0c01e5
tree495e74621a84a95d954e515c6d673f42f71bd0f7
parent12d18abfe7a523d91739a6f0fb0f59c66d0478f3
lima: handle fp16 vertex formats

12128fb1351e marked fp16 vertex formats supported, but they aren't actually handled
by lima_pipe_format_to_attrib_type(). Fix it by handling it there.
FP16 seems to be the only missing index which is 0x3.

Fixes: 12128fb1351e ("lima: add natively supported vertex buffer formats")

Cc: 21.1 mesa-stable
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11872>
src/gallium/drivers/lima/lima_draw.c