mesa/main: set PREFER_DP4 to match position_invarient code
authorKeith Whitwell <keithw@vmware.com>
Fri, 1 May 2009 17:20:42 +0000 (18:20 +0100)
committerKeith Whitwell <keithw@vmware.com>
Tue, 5 May 2009 12:14:52 +0000 (13:14 +0100)
commit22b417b75ce0e6658a5d1e0e80cb6c3fdf631774
tree5f034b12508a1e45101abbd5faf3c7d01d06687a
parentc6bfb4c55963937f715a5e6a806be23e940b30d3
mesa/main: set PREFER_DP4 to match position_invarient code

This is a quick fix for z fighting in quake4 caused by the mismatch
between vertex transformation here and in the position_invarient code.
Full fix would be to make this driver-tunable and adjust both
position_invarient and ffvertex_prog.c code to respect driver
preferences.
src/mesa/main/ffvertex_prog.c