summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c2
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)