projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b0ad5
)
mesa: texgen_enabled is only 1 bit.
author
Mathias Fröhlich
<mathias.froehlich@web.de>
Sat, 27 Jan 2018 19:09:00 +0000
(12:09 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 30 Jan 2018 16:07:59 +0000
(09:07 -0700)
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 <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/ffvertex_prog.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/ffvertex_prog.c
b/src/mesa/main/ffvertex_prog.c
index eebc32793776589c176bcee989757e8a32fd86da..2eccc1fdfecbb9375195ae3ba12f8d919c337210 100644
(file)
--- 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;