st/mesa: fix R8 bitmap texture for TGSI paths.
authorDave Airlie <airlied@redhat.com>
Wed, 9 Oct 2019 23:56:27 +0000 (09:56 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Oct 2019 00:22:37 +0000 (10:22 +1000)
commitb1f3173d0f3e23f2022553f513d58aaf12798a2e
tree20843b05f0384a1e5701c5e6a91164b6bc9a66ff
parentc7e5d24d8f5281a85d9f6646e4d7601f947d6f7d
st/mesa: fix R8 bitmap texture for TGSI paths.

The initial patch only fixed up the NIR path, but forgot
the TGSI path needed fixing as well.

Fixes: f92226931b ("st/mesa: Prefer R8 for bitmap textures")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c