1 /* $XFree86: xc/lib/GL/mesa/src/drv/tdfx/X86/fx_3dnow_fastpath.S,v 1.2 2000/09/26 15:56:51 tsi Exp $ */
3 #include "../../X86/assyntax.h"
10 /* Pack either rgba or texture into the remaining half of a 32 byte vertex.
15 #define CLIP_A 28 /* defined inf fxdrv.h */
25 #include "fx_3dnow_fasttmp.h"
28 #define TYPE (SETUP_RGBA)
29 #define TAG(x) x##_RGBA
30 #include "fx_3dnow_fasttmp.h"
33 #define TYPE (SETUP_TMU0)
34 #define TAG(x) x##_TMU0
35 #include "fx_3dnow_fasttmp.h"
38 #define TYPE (SETUP_TMU0|SETUP_TMU1)
39 #define TAG(x) x##_TMU0_TMU1
40 #include "fx_3dnow_fasttmp.h"
48 #define TYPE (SETUP_TMU1)
49 #define TAG(x) x##_TMU1
50 #include "fx_3dnow_fasttmp.h"
52 /* These three need to use a full 64 byte clip-space vertex.
65 #define TYPE (SETUP_RGBA|SETUP_TMU0)
66 #define TAG(x) x##_RGBA_TMU0
67 #include "fx_3dnow_fasttmp.h"
70 #define TYPE (SETUP_RGBA|SETUP_TMU0|SETUP_TMU1)
71 #define TAG(x) x##_RGBA_TMU0_TMU1
72 #include "fx_3dnow_fasttmp.h"
80 #define TYPE (SETUP_RGBA|SETUP_TMU1)
81 #define TAG(x) x##_RGBA_TMU1
82 #include "fx_3dnow_fasttmp.h"