etnaviv: combine translate_ts_sampler_format/translate_msaa_format
authorJonathan Marek <jonathan@marek.ca>
Mon, 1 Jul 2019 20:42:50 +0000 (16:42 -0400)
committerJonathan Marek <jonathan@marek.ca>
Thu, 4 Jul 2019 18:05:18 +0000 (14:05 -0400)
commit66411521ea9394132c6067f5b676dc2751f21d6c
tree2720dc65ed0e5c04cd76bd7c4f0aeb09cf9a152e
parent84c87f40fbd4733d59bd8ff218d0ab82730b5160
etnaviv: combine translate_ts_sampler_format/translate_msaa_format

Both translate the same thing, so just add the missing cases into one.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_format.c
src/gallium/drivers/etnaviv/etnaviv_rs.c
src/gallium/drivers/etnaviv/etnaviv_screen.c
src/gallium/drivers/etnaviv/etnaviv_state.c
src/gallium/drivers/etnaviv/etnaviv_texture.c
src/gallium/drivers/etnaviv/etnaviv_translate.h