diff options
author | Dave Airlie <[email protected]> | 2019-10-10 09:56:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-10-10 10:22:37 +1000 |
commit | b1f3173d0f3e23f2022553f513d58aaf12798a2e (patch) | |
tree | 20843b05f0384a1e5701c5e6a91164b6bc9a66ff /src/mesa/state_tracker/st_program.c | |
parent | c7e5d24d8f5281a85d9f6646e4d7601f947d6f7d (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 3c9597e1c6f..eb46253d9de 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -1298,7 +1298,7 @@ st_create_fp_variant(struct st_context *st, variant->bitmap_sampler, st->needs_texcoord_semantic, st->bitmap.tex_format == - PIPE_FORMAT_L8_UNORM); + PIPE_FORMAT_R8_UNORM); if (tokens) { if (tgsi.tokens != stfp->tgsi.tokens) |