From: Mathias Fröhlich Date: Sat, 27 Jan 2018 19:09:00 +0000 (-0700) Subject: mesa: texgen_enabled is only 1 bit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6726d1609831244e9593fd1ee4b29ba2485922a0;p=mesa.git mesa: texgen_enabled is only 1 bit. For the state key for hashing fixed function vertex shaders, the texgen_enabled field requires only a single bit. Signed-off-by: Mathias Fröhlich Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c index eebc3279377..2eccc1fdfec 100644 --- a/src/mesa/main/ffvertex_prog.c +++ b/src/mesa/main/ffvertex_prog.c @@ -76,7 +76,7 @@ struct state_key { unsigned texunit_really_enabled:1; unsigned texmat_enabled:1; unsigned coord_replace:1; - unsigned texgen_enabled:4; + unsigned texgen_enabled:1; unsigned texgen_mode0:4; unsigned texgen_mode1:4; unsigned texgen_mode2:4;