lima: split pixel and texel format tables
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 19 Mar 2020 02:21:57 +0000 (19:21 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Mar 2020 17:00:10 +0000 (17:00 +0000)
commite763c6778ced36ba5f513391fc26952aab05d8af
tree1d0ae24931affc1d1dfe22d840aed0d4515be723
parentd4b0e28f62421d0fb5a5bcb19038b4f6fec622c5
lima: split pixel and texel format tables

This is preparation for the next commit where we may need different
swap_r_b flags for pixel and texel formats.

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4241>
src/gallium/drivers/lima/lima_format.c
src/gallium/drivers/lima/lima_format.h
src/gallium/drivers/lima/lima_job.c
src/gallium/drivers/lima/lima_texture.c