st/mesa: Fall back on R3G3B2 for R3_G3_B2
authorIcecream95 <ixn@keemail.me>
Tue, 24 Mar 2020 01:45:45 +0000 (14:45 +1300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 00:48:58 +0000 (00:48 +0000)
commit49a81a431e0b5aef53da2319b327da717603fbc6
tree0a2312ae248f14bf81c2ff188a1690b63ee2589f
parent81d059c89859841bf6c4c74e29d2dd95f6dd93bf
st/mesa: Fall back on R3G3B2 for R3_G3_B2

It's simpler for Panfrost to use R3G3B2 instead of B2G3R3, but
format_map only listed the BGR variation.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4292>
src/mesa/state_tracker/st_format.c