mesa/st: simplify format usage in st_bind_egl_image
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 29 May 2019 20:41:59 +0000 (16:41 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Jul 2019 22:16:43 +0000 (15:16 -0700)
commit2cc85670a79194a4c89797f0942d9eef4455fb92
treed8b72e5a42440d8b9dfdbbe378925dad93c8cee0
parent9b1b9714915c3e3d08582fd1d77f182cdf3e5090
mesa/st: simplify format usage in st_bind_egl_image

the formats handled in the switch statement will always return an
unknown mesa format, so process them directly and leave the default
case for other/unknown formats

no functional changes

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/state_tracker/st_cb_eglimage.c