mesa: more complete fix for transform_invarient glitches
authorKeith Whitwell <keithw@vmware.com>
Tue, 5 May 2009 11:12:28 +0000 (12:12 +0100)
committerKeith Whitwell <keithw@vmware.com>
Tue, 5 May 2009 12:14:53 +0000 (13:14 +0100)
commit113403ef51e2ec764db061aabf569d6f1a1a3ef0
treec21df3f7acaa4406a48200bb4dfa59073257c1a0
parent22b417b75ce0e6658a5d1e0e80cb6c3fdf631774
mesa: more complete fix for transform_invarient glitches

Add a new flag mvp_with_dp4 in the context, and use that to switch
both ffvertex.c and programopt.c vertex transformation code to
either DP4 or MUL/MAD implementations.
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/main/ffvertex_prog.c
src/mesa/main/mtypes.h
src/mesa/shader/programopt.c
src/mesa/state_tracker/st_context.c