st/mesa: Prefer R8 for bitmap textures
authorDave Airlie <airlied@redhat.com>
Thu, 4 Oct 2018 01:41:26 +0000 (02:41 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 9 Oct 2019 07:56:00 +0000 (09:56 +0200)
commitf92226931b90c005eace6dd9cb675c83b1e58cb0
tree30ce382549fbfdd1d97e946936b7011ca8a4e38d
parentad96c4987cb2b23a9314a0a01fea8153843de8ef
st/mesa: Prefer R8 for bitmap textures

If it's not available, we fall back to A8. This should work on all drivers,
because we depend on it in the display-list code already.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_program.c