diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-12-15 01:50:15 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-15 03:49:35 +1100 |
commit | 7f89c776e19b400c0adf647fc9dfb392efe88dbd (patch) | |
tree | 422a369c1d7db39456cec1b82c15fb8c43d68c46 /src/mesa/pipe/nv40/nv40_shader.h | |
parent | 868048fcc77ec954e2823959285bfa7b8f82b13c (diff) |
nv40: less dodgy vp const/insn handling
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_shader.h')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_shader.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_shader.h b/src/mesa/pipe/nv40/nv40_shader.h index 01c0652b4d..5909c70713 100644 --- a/src/mesa/pipe/nv40/nv40_shader.h +++ b/src/mesa/pipe/nv40/nv40_shader.h @@ -90,8 +90,8 @@ # define NV40_VP_INST_OP_ADD 0x03 # define NV40_VP_INST_OP_MAD 0x04 # define NV40_VP_INST_OP_DP3 0x05 -# define NV40_VP_INST_OP_DP4 0x07 # define NV40_VP_INST_OP_DPH 0x06 +# define NV40_VP_INST_OP_DP4 0x07 # define NV40_VP_INST_OP_DST 0x08 # define NV40_VP_INST_OP_MIN 0x09 # define NV40_VP_INST_OP_MAX 0x0A @@ -109,9 +109,11 @@ # define NV40_VP_INST_OP_SSG 0x16 # define NV40_VP_INST_OP_ARR 0x17 # define NV40_VP_INST_OP_ARA 0x18 -# define NV40_VP_INST_OP_TXWHAT 0x19 +# define NV40_VP_INST_OP_TXL 0x19 #define NV40_VP_INST_SCA_OPCODE_SHIFT 27 #define NV40_VP_INST_SCA_OPCODE_MASK (0x1F << 27) +# define NV40_VP_INST_OP_NOP 0x00 +# define NV40_VP_INST_OP_MOV 0x01 # define NV40_VP_INST_OP_RCP 0x02 # define NV40_VP_INST_OP_RCC 0x03 # define NV40_VP_INST_OP_RSQ 0x04 |