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>
Fri, 8 May 2009 13:57:28 +0000 (14:57 +0100)
commitb6e8256899a9a93c665c34e10efcc918f2fcc095
tree87f365d4ca42115f278c958a0040ce742a570356
parent751f73e2812cf8185c775a91c16cf8565b85536d
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