mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
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>
This commit is contained in:
parent
c7e5d24d8f
commit
b1f3173d0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue