diff options
author | Brian Paul <[email protected]> | 2003-03-15 17:33:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-03-15 17:33:25 +0000 |
commit | 350353adcd75f94fda63c787c86961716114e0bf (patch) | |
tree | d91f40c8a2d55f4f0e3e12d14dc075a8af83b92e /src/mesa/main/nvfragprog.h | |
parent | add99d01ee7bf22e87c2c13b3476f6d70d0b3a7d (diff) |
Fix up some fragment program texture enable issues.
Implemented TXD instruction.
Diffstat (limited to 'src/mesa/main/nvfragprog.h')
-rw-r--r-- | src/mesa/main/nvfragprog.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mesa/main/nvfragprog.h b/src/mesa/main/nvfragprog.h index d7e23627a42..8d1ed13f217 100644 --- a/src/mesa/main/nvfragprog.h +++ b/src/mesa/main/nvfragprog.h @@ -1,4 +1,4 @@ -/* $Id: nvfragprog.h,v 1.4 2003/03/14 15:40:59 brianp Exp $ */ +/* $Id: nvfragprog.h,v 1.5 2003/03/15 17:33:26 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -36,6 +36,21 @@ #include "config.h" +/* Fragment input registers / attributes */ +#define FRAG_ATTRIB_WPOS 0 +#define FRAG_ATTRIB_COL0 1 +#define FRAG_ATTRIB_COL1 2 +#define FRAG_ATTRIB_FOGC 3 +#define FRAG_ATTRIB_TEX0 4 +#define FRAG_ATTRIB_TEX1 5 +#define FRAG_ATTRIB_TEX2 6 +#define FRAG_ATTRIB_TEX3 7 +#define FRAG_ATTRIB_TEX4 8 +#define FRAG_ATTRIB_TEX5 9 +#define FRAG_ATTRIB_TEX6 10 +#define FRAG_ATTRIB_TEX7 11 + + /* Location of register sets within the whole register file */ #define FP_INPUT_REG_START 0 #define FP_INPUT_REG_END (FP_INPUT_REG_START + MAX_NV_FRAGMENT_PROGRAM_INPUTS - 1) |