mesa: don't emit LIT instruction when mat shininess known to be zero
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 23 May 2008 18:17:02 +0000 (19:17 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 23 May 2008 18:17:02 +0000 (19:17 +0100)
commit0ac2f7955c01749e122f67ff03e79a0d8bd0f8e5
tree4beaac1ffb7136c566f81f2fdef16be02d4cb7f6
parent3b41d619a1b7cc8c356c32af777486461ddd7926
mesa: don't emit LIT instruction when mat shininess known to be zero

Use a faster path in that case & make gears go faster.
src/mesa/main/ffvertex_prog.c