diff options
author | Mathias Fröhlich <[email protected]> | 2018-01-27 12:09:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-30 09:07:59 -0700 |
commit | 6726d1609831244e9593fd1ee4b29ba2485922a0 (patch) | |
tree | 60b16e4901a9f6d10b6785cdcbb4068bc15619fd /src/mesa | |
parent | d6b0ad51ec3747b5fcda23670c36d5fb45391e19 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/ffvertex_prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |