fix issues when using mixed-mode pos-invariant vp and ff tnl (bug #9856)
authorRoland Scheidegger <sroland@tungstengraphics.com>
Mon, 5 Feb 2007 20:29:25 +0000 (21:29 +0100)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Mon, 5 Feb 2007 20:29:25 +0000 (21:29 +0100)
commit17c13b406f4f8a3e7cf755749aa65448f79f6a84
treeac8f8c0af0cf369f1a38ad68dd4d6d0713435db8
parent5b8a50572d3de2b9801be904c7403fc79061d090
fix issues when using mixed-mode pos-invariant vp and ff tnl (bug #9856)

ARB_vp requires vertex transformation to be invariant to fixed function tnl
if the position_invariant option is used. So the same function needs to be
used, otherwise z-fighting artifacts may happen with applications which rely
on the results being really the same due to precision issues when dealing with
floating point values (may not be a problem when using a non-optimizing
compiler strictly following IEEE rules).
src/mesa/tnl/t_vb_arbprogram.c