mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 15:40:20 +01:00
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.
This commit is contained in:
parent
1ed90091be
commit
751f73e281
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ static void make_state_key( GLcontext *ctx, struct state_key *key )
|
|||
* multiplications with DP4's or with MUL/MAD's? SSE works better
|
||||
* with the latter, drivers may differ.
|
||||
*/
|
||||
#define PREFER_DP4 0
|
||||
#define PREFER_DP4 1
|
||||
|
||||
|
||||
/* Use uregs to represent registers internally, translate to Mesa's
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue