panfrost: Move panfrost_translate_texture_type
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 8 Jul 2020 19:59:17 +0000 (15:59 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 9 Jul 2020 16:49:13 +0000 (12:49 -0400)
commit5247d6730223a400aed9068db8a82c134c655005
tree301a7ee6c02472bb0c429f21d8f2c15907a16cde
parent816af26f027ebe325bcaaa70ad1eb9575cddea9f
panfrost: Move panfrost_translate_texture_type

We need it in pan_job.c

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5827>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_resource.h