panfrost: Simplify swizzle translation
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 14 Feb 2020 12:49:25 +0000 (07:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 14 Feb 2020 12:53:36 +0000 (12:53 +0000)
commitc57456aab6974abc86e7e1b0aae958a8ab3dad27
tree5e85e71e8d19c3ba952652e3eef6164b3a7d4265
parentf3490a141c8d562fc29e714c3735f2ae8e3c0512
panfrost: Simplify swizzle translation

It lines up anyway, and Gallium shouldn't change this. (And if it does,
we'll deal with that then since CI would start failing.)

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3824>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3824>
src/gallium/drivers/panfrost/pan_format.c