mesa: Care for differences in fog mode only if fog is consumed.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sat, 27 Jan 2018 19:09:00 +0000 (12:09 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 30 Jan 2018 16:07:59 +0000 (09:07 -0700)
commit06621e8a0df9ece4211e9d612b9199c9403e2290
tree5a2b8c9afe1432710cd18f4e3bb7010151ca0984
parent6395a0ecf2224f7647262aa82d3ebba69cba891b
mesa: Care for differences in fog mode only if fog is consumed.

In creating fixed function vertex shader hash keys do only
care for producing the varying output if fog is enabled and the
varing is consumed in the fragment stage.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/ffvertex_prog.c